time::serde::rfc2822

Function deserialize

Source
pub fn deserialize<'a, D: Deserializer<'a>>(
    deserializer: D,
) -> Result<OffsetDateTime, D::Error>
Available on crate feature serde and (crate features formatting or parsing) and crate feature parsing only.
Expand description

Deserialize an OffsetDateTime from its RFC2822 representation.