pub trait Deserialize: Sized {
// Required method
fn begin(out: &mut Option<Self>) -> &mut dyn Visitor;
}Expand description
Trait for data structures that can be deserialized from a JSON string.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl<A, B> Deserialize for (A, B)where
A: Deserialize,
B: Deserialize,
impl<A, B> Deserialize for (A, B)where
A: Deserialize,
B: Deserialize,
Source§impl<K, V> Deserialize for BTreeMap<K, V>
impl<K, V> Deserialize for BTreeMap<K, V>
Source§impl<K, V, H> Deserialize for HashMap<K, V, H>
Available on crate feature std only.
impl<K, V, H> Deserialize for HashMap<K, V, H>
Available on crate feature
std only.