Function serialize
pub fn serialize<S, T>(
value: &T,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
T: Display,
Expand description
Serialize from T into string
pub fn serialize<S, T>(
value: &T,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
T: Display,
Serialize from T into string