pub trait DeserializeExt<'de>where
Self: DeserializeOwned,{
// Required method
fn take_from_value<D: Deserializer<'de>>(
value: &mut Value,
field: &str,
) -> Result<Self, D::Error>;
}
Expand description
A helper trait used to simplify value extraction.
Required Methods§
fn take_from_value<D: Deserializer<'de>>( value: &mut Value, field: &str, ) -> Result<Self, D::Error>
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.