pub fn serialize<S: Serializer>( value: &Option<Ratio>, serializer: S, ) -> Result<S::Ok, S::Error>
Writes the fraction as a percentage string, or null.
null
Whatever the serializer reports for an optional string.