Function otter_api_tests::humantime_serde::deserialize
source · [−]pub fn deserialize<'a, T, D>(d: D) -> Result<T, <D as Deserializer<'a>>::Error> where
D: Deserializer<'a>,
Serde<T>: Deserialize<'a>,
Expand description
Deserializes a Duration
or SystemTime
via the humantime crate.
This function can be used with serde_derive
’s with
and
deserialize_with
annotations.