Skip to main content

option_string_decimal

Function option_string_decimal 

Source
fn option_string_decimal<'de, D>(
    deserializer: D,
) -> Result<Option<Decimal>, D::Error>
where D: Deserializer<'de>,
Expand description

Deserialize an optional string as Option. The API always returns Decimal values as JSON strings (e.g., “0.5”, “10000”).