Function to_value

Source
pub fn to_value<T>(value: T) -> ClientResult<Value>
where T: Serialize,
Expand description

Custom implementation to convert a value to a Value type.