nt_time::serde_with::rfc_2822::option

Function deserialize

Source
pub fn deserialize<'de, D: Deserializer<'de>>(
    deserializer: D,
) -> Result<Option<FileTime>, D::Error>
Available on crate features serde and serde-human-readable only.
Expand description

Deserializes an Option<FileTime> from the given Serde deserializer.

This deserializes from its RFC 2822 representation.