Skip to main content

deserialize

Function deserialize 

Source
pub fn deserialize<'de, D: Deserializer<'de>>(
    deserializer: D,
) -> Result<Option<ByteRate>, D::Error>
Expand description

Reads the quantity from its human string form, or null.

ยงErrors

If the value is neither null nor a string holding a quantity of this dimension with an explicit unit.