#[non_exhaustive]pub enum MetadataProperty {
TypeName,
Id,
RelatedType,
RelatedId,
IsPrivate,
Metadata,
VendorProperty(String),
}Expand description
Property selector for crate::Metadata /get and /set.
Mirrors the common-properties list from
draft-ietf-jmap-metadata-01 §2.2.1 plus the type-specific
Metadata variant for IMAP- and
WebDAV-flavour objects. Vendor-specific Annotation properties are
not enumerated here — clients refer to them by their wire string
(e.g. "acme.example.com:color") directly via
VendorProperty.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
TypeName
The @type property (draft-ietf-jmap-metadata-01 §2.2.1.1).
Id
The id property (draft-ietf-jmap-metadata-01 §2.2.1.2).
RelatedType
The relatedType property (draft-ietf-jmap-metadata-01 §2.2.1.3).
RelatedId
The relatedId property (draft-ietf-jmap-metadata-01 §2.2.1.4).
IsPrivate
The isPrivate property (draft-ietf-jmap-metadata-01 §2.2.1.5).
Metadata
The metadata property carried by
crate::ImapMetadata (§2.2.2.1) and crate::WebDavMetadata
(§2.2.3.1).
VendorProperty(String)
A vendor-specific Annotation property (§2.2.1.6). The inner string
is the domain-prefixed wire key (e.g. "acme.example.com:color").
Trait Implementations§
Source§impl Clone for MetadataProperty
impl Clone for MetadataProperty
Source§fn clone(&self) -> MetadataProperty
fn clone(&self) -> MetadataProperty
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MetadataProperty
impl Debug for MetadataProperty
Source§impl Hash for MetadataProperty
impl Hash for MetadataProperty
Source§impl PartialEq for MetadataProperty
impl PartialEq for MetadataProperty
Source§fn eq(&self, other: &MetadataProperty) -> bool
fn eq(&self, other: &MetadataProperty) -> bool
self and other values to be equal, and is used by ==.