time::serde::rfc2822::option

Function deserialize

source
pub fn deserialize<'a, D: Deserializer<'a>>(
    deserializer: D,
) -> Result<Option<OffsetDateTime>, D::Error>
Expand description

Deserialize an Option<OffsetDateTime> from its RFC2822 representation.