time::serde::timestamp

Function deserialize

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

Deserialize an OffsetDateTime from its Unix timestamp