time::serde::rfc3339::option

Function deserialize

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

Deserialize an Option<OffsetDateTime> from its RFC3339 representation.