#[non_exhaustive]pub struct MailAccountCapability {
pub max_mailboxes_per_email: Option<u64>,
pub max_mailbox_depth: Option<u64>,
pub max_size_mailbox_name: u64,
pub max_size_attachments_per_email: u64,
pub email_query_sort_options: Vec<String>,
pub may_create_top_level_mailbox: bool,
}Expand description
Account-level Mail capability (RFC 8621 §1.3.1).
The value of accountCapabilities["urn:ietf:params:jmap:mail"] for a
given account. Describes server capabilities and account-level
permissions for the Mail extension.
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.max_mailboxes_per_email: Option<u64>Maximum number of Mailboxes that may be assigned to a single Email,
or null for no limit (RFC 8621 §1.3.1). MUST be >= 1 when set.
max_mailbox_depth: Option<u64>Maximum depth of the Mailbox hierarchy (one more than the maximum
number of ancestors a Mailbox may have), or null for no limit
(RFC 8621 §1.3.1).
max_size_mailbox_name: u64Maximum length, in UTF-8 octets, allowed for a Mailbox name (RFC 8621 §1.3.1). MUST be at least 100.
max_size_attachments_per_email: u64Maximum total size, in octets, of attachments allowed for a single Email object (RFC 8621 §1.3.1). This is the unencoded attachment total; servers may enforce a separate limit on encoded message size.
email_query_sort_options: Vec<String>List of values the server supports for the property field of the
Comparator object in an Email/query sort (RFC 8621 §1.3.1 / §4.4.2).
May include vendor-specific extensions; clients MUST ignore unknown
entries.
may_create_top_level_mailbox: boolIf true, the user may create a Mailbox in this account with a
null parentId (RFC 8621 §1.3.1). Permission to create a child of
an existing Mailbox is governed by Mailbox.myRights instead.