Module time::serde

source ·
Available on crate feature serde only.
Expand description

Differential formats for serde.

Modules§

Macros§

  • format_descriptionmacros and (formatting or parsing)
    Generate a custom serializer and deserializer from a format string or an existing format.
  • item 🔒
    Consume the next item in a sequence.

Constants§

  • DATE_FORMAT 🔒 parsing
    The format used when serializing and deserializing a human-readable Date.
  • The format used when serializing and deserializing a human-readable OffsetDateTime.
  • The format used when serializing and deserializing a human-readable PrimitiveDateTime.
  • TIME_FORMAT 🔒 parsing
    The format used when serializing and deserializing a human-readable Time.
  • UTC_OFFSET_FORMAT 🔒 parsing
    The format used when serializing and deserializing a human-readable UtcOffset.