Name Description Size
microseconds.rs Treat an [`OffsetDateTime`] as a [Unix timestamp] with microseconds for the purposes of serde. Use this module in combination with serde's [`#[with]`][with] attribute. When deserializing, the offset is assumed to be UTC. [Unix timestamp]: https://en.wikipedia.org/wiki/Unix_time [with]: https://serde.rs/field-attrs.html#with 2401
milliseconds.rs Treat an [`OffsetDateTime`] as a [Unix timestamp] with milliseconds for the purposes of serde. Use this module in combination with serde's [`#[with]`][with] attribute. When deserializing, the offset is assumed to be UTC. [Unix timestamp]: https://en.wikipedia.org/wiki/Unix_time [with]: https://serde.rs/field-attrs.html#with 2417
mod.rs Treat an [`OffsetDateTime`] as a [Unix timestamp] for the purposes of serde. Use this module in combination with serde's [`#[with]`][with] attribute. When deserializing, the offset is assumed to be UTC. [Unix timestamp]: https://en.wikipedia.org/wiki/Unix_time [with]: https://serde.rs/field-attrs.html#with 2210
nanoseconds.rs Treat an [`OffsetDateTime`] as a [Unix timestamp] with nanoseconds for the purposes of serde. Use this module in combination with serde's [`#[with]`][with] attribute. When deserializing, the offset is assumed to be UTC. [Unix timestamp]: https://en.wikipedia.org/wiki/Unix_time [with]: https://serde.rs/field-attrs.html#with 2274