Trait params::FromValue [] [src]

pub trait FromValue: Sized {
    fn from_value(value: &Value) -> Option<Self>;
}

An interface for converting from Value variants.

Required Methods

Returns Some if the conversion was successful, None otherwise.

Implementors