Skip to main content

opt_dec

Function opt_dec 

Source
pub fn opt_dec<'de, D: Deserializer<'de>>(
    d: D,
) -> Result<Option<Decimal>, D::Error>
Expand description

A decimal from a JSON text or number. The empty text, null and an absent field are None.