Module timestamp
Expand description
Serialize/deserialize Timestamp type from and into string:
Structs§
- Helper struct to serialize and deserialize Timestamp into an RFC3339-compatible string This is required because the serde
with
attribute is only available to fields of a struct but not the whole struct.
Functions§
- Deserialize string into Timestamp
- Helper for formatting an [
OffsetDateTime
] value. - Serialize from Timestamp into string
- Serialization helper for converting an [
OffsetDateTime
] object to a string.