Name Description Size Coverage
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 -
milliseconds_i64.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 2547 -
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 2236 -
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 -