logo
pub fn deserialize<'de, D>(
    deserializer: D
) -> Result<Option<Duration>, D::Error> where
    D: Deserializer<'de>, 
Expand description

Deserializes an Option.

Will fail if integer is greater than the maximum integer that can be unambiguously represented by an f64.