#[non_exhaustive]pub struct BlobLookupEntry {
pub id: Id,
pub matched_ids: HashMap<String, Vec<Id>>,
pub extra: Map<String, Value>,
}Expand description
A single entry in a Blob/lookup response.
Spec: draft-ietf-jmap-blobext-01 §6
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.id: IdThe blobId that was queried.
matched_ids: HashMap<String, Vec<Id>>Per-type reverse lookup: keys are JMAP data type names (e.g.
"Message", "Chat"); values are the typed Ids of objects
that reference this blob. The keys stay String because data
type names are externally-defined spec strings and not
uniformly enumerable across extensions.
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).
Constraint: keys in extra MUST NOT collide with the
typed-field wire names above (the camelCase spelling — e.g.
"accountId", "ids", "properties", "blobIds",
"fromAccountId", etc.). On collision the typed-field value
wins on the wire and the extra value is silently dropped at
serialization. Place vendor extensions under vendor-prefixed
keys (e.g. "acmeCorpFoo") to avoid the collision class.
Trait Implementations§
Source§impl Clone for BlobLookupEntry
impl Clone for BlobLookupEntry
Source§fn clone(&self) -> BlobLookupEntry
fn clone(&self) -> BlobLookupEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more