Function serialize
Source pub fn serialize<T, S>(value: &T, serializer: S) -> Result<S::Ok, S::Error>
Expand description
Serialize the value using its standard Serialize implementation.
ยงErrors
Returns a serialization error if the serializer rejects the value.