Struct humantime_serde::Serde [−][src]
pub struct Serde<T>(_);
Expand description
A wrapper type which implements Serialize
and Deserialize
for
types involving SystemTime
and Duration
.
Implementations
Consumes the De
, returning the inner value.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Deserialize this value from the given Serde deserializer. Read more
fn deserialize<D>(d: D) -> Result<Serde<Option<Duration>>, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<Serde<Option<Duration>>, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
fn deserialize<D>(d: D) -> Result<Serde<Option<SystemTime>>, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<Serde<Option<SystemTime>>, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for Serde<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Serde<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more