Skip to main content

serialize

Function serialize 

Source
pub fn serialize<S, T: Display>(
    data: T,
    serializer: S,
) -> Result<S::Ok, S::Error>
where S: Serializer,
Expand description

Serialize into a string