Skip to main content

from_value

Function from_value 

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

Deserializes an instance of type T from a Value.

This is useful when you have already parsed a KeyValues structure into a Value and want to convert it into a typed Rust structure.