Module serde

Source
Expand description

Serialization/Deserialization of naive types in alternate formats

The various modules in here are intended to be used with serde’s with annotation to serialize as something other than the default RFC 3339 format.

Modules§

ts_microseconds
Used to serialize/deserialize from microsecond-precision timestamps
ts_microseconds_option
Ser/de to/from optional timestamps in microseconds
ts_milliseconds
Used to serialize/deserialize from millisecond-precision timestamps
ts_milliseconds_option
Ser/de to/from optional timestamps in milliseconds
ts_nanoseconds
Used to serialize/deserialize from nanosecond-precision timestamps
ts_nanoseconds_option
Ser/de to/from optional timestamps in nanoseconds
ts_seconds
Used to serialize/deserialize from second-precision timestamps
ts_seconds_option
Ser/de to/from optional timestamps in seconds