pavex::time::serde::timestamp::nanoseconds

Function deserialize

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

Deserialize an OffsetDateTime from its Unix timestamp with nanoseconds