#[non_exhaustive]pub struct Timestamp {
pub at_type: Option<String>,
pub utc: String,
pub extra: Map<String, Value>,
}Expand description
A UTC point in time (RFC 9553 §2.8.1).
Used by Anniversary as one of the two alternative date value
shapes (the other being PartialDate).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.at_type: Option<String>Object type discriminator; required to be "Timestamp" on the
wire when the value is used as an Anniversary.date (because the
default-type for that field is PartialDate; explicit @type
is what selects this variant).
utc: StringThe UTC date-time (RFC 9553 §1.4.5 UTCDateTime): an RFC 3339
date-time string with the time-offset always "Z", e.g.
"2022-05-22T03:30:00Z".
Stored as bare String so deserialize accepts any peer-emitted
value losslessly. The format is NOT validated at construction or
deserialize time; callers that need the parsed value should pipe
it through chrono::DateTime::parse_from_rfc3339 or
time::OffsetDateTime::parse themselves (per the workspace
convention used by jmap_types::UTCDate, which carries the same
parse-on-demand contract).
extra: Map<String, Value>Catch-all for vendor / site / private extension fields not covered by the typed fields above. Preserves unknown fields across deserialize/serialize round-trip per workspace extras-preservation policy (see workspace AGENTS.md).