Skip to main content

deserialize

Function deserialize 

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

Reads the quantity from its human string form.

ยงErrors

If the value is not a string, or not a quantity of this dimension with an explicit unit.