Skip to main content

deserialize

Function deserialize 

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

Reads the quantity from an integer in this module’s unit, or null.

§Errors

If the value is neither null nor an integer of the underlying width.