Skip to main content

to_value

Function to_value 

Source
fn to_value(value: &impl Serialize) -> Value
Expand description

Serializes a match, or returns an empty object if it can’t be serialized.