Trait serde_lite::Deserialize
source · pub trait Deserialize {
// Required method
fn deserialize(val: &Intermediate) -> Result<Self, Error>
where Self: Sized;
}
Expand description
Deserialize trait.
The trait can be implemented by objects the can deserialized from the intermediate representation.
Required Methods§
sourcefn deserialize(val: &Intermediate) -> Result<Self, Error>where
Self: Sized,
fn deserialize(val: &Intermediate) -> Result<Self, Error>where Self: Sized,
Deserialize an object instance.