Trait magnus::TryConvert
source · [−]pub trait TryConvert: Sized {
fn try_convert(val: &Value) -> Result<Self, Error>;
}
Expand description
Conversions from Value
to Rust types.
Required Methods
fn try_convert(val: &Value) -> Result<Self, Error>
fn try_convert(val: &Value) -> Result<Self, Error>
Convert val
into Self
.