from_value

Function from_value 

Source
pub fn from_value<T>(value: Value) -> Result<T, Error>
Expand description

Deserializes an instance of T from a Value.

ยงErrors

Deserialization can fail if the data is not valid, if the data cannot cannot be deserialized into an instance of T, and other IO errors.