Trait snarkvm_console::prelude::DeserializeExt
pub trait DeserializeExt<'de>: DeserializeOwned {
// Required method
fn take_from_value<D>(
value: &mut Value,
field: &str
) -> Result<Self, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>;
}
Expand description
A helper trait used to simplify value extraction.
Required Methods§
fn take_from_value<D>( value: &mut Value, field: &str ) -> Result<Self, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
Object Safety§
This trait is not object safe.