pub trait FromValue {
fn from_value(v: &Value) -> Option<Self>
where
Self: Sized;
}
Expand description
Helper trait
Required Methods
sourcefn from_value(v: &Value) -> Option<Self>where
Self: Sized,
fn from_value(v: &Value) -> Option<Self>where
Self: Sized,
Converts value to specified type.