pub trait IntoPropertyMap {
// Required method
fn into_property_map(self) -> Result<Map<String, Value>>;
}Expand description
Conversion into the property map carried by Data.
Implemented for serde_json::Map, HashMap, BTreeMap and
serde_json::Value, so callers can pass their favorite container —
including serde_json::json!({...}) literals, which must be JSON objects:
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".