[−][src]Function ruma_serde::duration::opt_ms::deserialize
pub fn deserialize<'de, D>(
deserializer: D
) -> Result<Option<Duration>, D::Error> where
D: Deserializer<'de>,
Deserializes an Option
Will fail if integer is greater than the maximum integer that can be unambiguously represented by an f64.