Skip to main content

to_value

Function to_value 

Source
pub fn to_value<'facet, T: Facet<'facet>>(
    value: &T,
) -> Result<Value, SerializeError<ToValueError>>
Expand description

Serialize a value implementing Facet into a Value.