pub fn serialize<T, S>(value: &T, serializer: S) -> Result<S::Ok, S::Error>where
T: Display,
S: Serializer,Expand description
Serialize a type T that implements fmt::Display as a quoted string.
pub fn serialize<T, S>(value: &T, serializer: S) -> Result<S::Ok, S::Error>where
T: Display,
S: Serializer,Serialize a type T that implements fmt::Display as a quoted string.