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.
pub fn opt_dec<'de, D: Deserializer<'de>>(
d: D,
) -> Result<Option<Decimal>, D::Error>A decimal from a JSON text or number. The empty text, null and an absent field are None.