time::serde::iso8601::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 ISO 8601 representation.