nautilus_databento::decode

Function decode_optional_quantity

Source
pub fn decode_optional_quantity(value: i32) -> Option<Quantity>
Expand description

Decodes a quantity from the given optional value, expressed in standard whole-number units.