Skip to main content

opt_f64

Function opt_f64 

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

Reads a float; numeric strings are accepted.

ยงErrors

Only when the input itself is malformed.