Function relay_protocol::to_value

source ·
pub fn to_value<T>(value: &T) -> Result<Option<Value>, Error>
where T: Serialize,
Expand description

Convert T into a Value.