Answer by Caesar for Serialize is not implemented for PgRange
There are quite a few ways to go on about this.My favourite serde trick, use the container attribute#[serde(into = "ReservationWorkaround")] on struct Reservation and add an impl...
View ArticleSerialize is not implemented for PgRange
I would like to be able to serialize a struct containing PgRange<DateTime<Utc>> however, #[derive(Serialize)] fails for struct Reservation with the error:pub timespan:...
View Article
More Pages to Explore .....