fn to_struct(json: serde_json::Value) -> prost_types::Struct { // How to implement it? }
Is there any crate to do it?
https://crates.io/crates/prost-wkt-types can generate prost_wkt_types::Struct, which supports Deserialize trait.
prost_wkt_types::Struct
Deserialize