Open tobias47n9e opened 1 year ago
I have a struct that uses:
#[derive(Debug, Serialize)] #[serde(rename_all = "camelCase")] pub struct Item { pub id: i32, pub coordinates: Option<Decode<geo_types::Geometry<f64>>>,
The #[derive(Seralize)] produces the following error:
#[derive(Seralize)]
the trait Serialize is not implemented for geozero::wkb::Decode<geo_types::Geometry>
Serialize
geozero::wkb::Decode<geo_types::Geometry>
Would it be possible to add an example to the docs showing hot to serialize a struct fetched with sqlx using Serde?
Any news about this?
I have a struct that uses:
The
#[derive(Seralize)]
produces the following error:Would it be possible to add an example to the docs showing hot to serialize a struct fetched with sqlx using Serde?