to_value

Function to_value 

Source
pub fn to_value<T>(t: &T) -> Result<Value, SerializeError>
where T: Serialize,
Expand description

Serializes this object into its Value representation.