Skip to main content

serialize

Function serialize 

Source
pub fn serialize<S: Serializer>(
    value: &Ratio,
    serializer: S,
) -> Result<S::Ok, S::Error>
Expand description

Writes the fraction as a percentage string.

ยงErrors

Whatever the serializer reports for a string.