pub fn deserialize<'a, T, D>(d: D) -> Result<T, D::Error>where Serde<T>: Deserialize<'a>, D: Deserializer<'a>,
Deserializes a Duration or SystemTime via the humantime crate.
Duration
SystemTime
This function can be used with serde_derive’s with and deserialize_with annotations.
serde_derive
with
deserialize_with