Function datetime_from_nano_timestamp

Source
pub fn datetime_from_nano_timestamp<'de, D>(
    deserializer: D,
) -> Result<DateTime<Utc>, D::Error>
where D: Deserializer<'de>,
Expand description

Used for deserialization of nano second timestamp as chrono DateTime.