pub fn deserialize<'de, D: Deserializer<'de>>(
deserializer: D,
) -> Result<Option<Ratio>, D::Error>Expand description
Reads the fraction from a percentage string, a bare number, or null.
ยงErrors
If the value is neither null nor a number nor a string holding a
fraction.