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