pub struct PimdirItem {
pub seq: i64,
pub link_id: ReplicaLinkId,
pub flags: ReplicaFlags,
pub meta: Option<ReplicaMeta>,
pub sort_key: String,
pub object: Option<ReplicaHash>,
pub level: ReplicaLevel,
pub retention: Option<PimdirRetention>,
}client only.Expand description
One live item as seen by a client read (list_items/get_item): the
shared truth a domain projects (an envelope, a vCard, an event),
kind-agnostic. The meta is the raw stored summary, parsed by the
reader against its own schema, and the level makes the read
availability-aware: below Full the body is not local.
Fields§
§seq: i64The message’s public id (items.seq): a small, stable,
store-global integer, the same across every mailbox the message is
filed in, that a consumer shows and passes back instead of the
long internal link_id.
link_id: ReplicaLinkIdThe cross-source link id (Message-ID for mail, UID for a vCard, …).
Internal: a consumer keys reads and edits by seq, not this.
flags: ReplicaFlagsThe item’s flag set.
meta: Option<ReplicaMeta>The raw per-domain summary blob, verbatim; None when never projected.
sort_key: StringThe kind’s ordering key (spec §9.3): a normalised RFC 3339 instant for mail and calendars, a normalised display name for contacts. Empty means unknown, which sorts before every real key ascending and after every one descending.
object: Option<ReplicaHash>The content-addressed body hash; None until a Full hydrate.
level: ReplicaLevelThe detail tier the item is hydrated to.
retention: Option<PimdirRetention>What retention holds about the row, None while it is live. The
trash view is the only read that fills it.
Trait Implementations§
Source§impl Clone for PimdirItem
impl Clone for PimdirItem
Source§fn clone(&self) -> PimdirItem
fn clone(&self) -> PimdirItem
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more