Function humantime_serde::option::deserialize
source · pub fn deserialize<'a, T, D>(d: D) -> Result<Option<T>, D::Error>where
Serde<T>: Deserialize<'a>,
D: Deserializer<'a>,Expand description
Deserialize an Option<Duration> or Option<SystemTime>
This function can be used with serde_derive’s with and
deserialize_with annotations.