pub struct MailboxSetParams {
pub on_destroy_remove_emails: Option<bool>,
pub extra: Map<String, Value>,
}Expand description
Extra args for Mailbox/set (RFC 8621 §2.5).
Fields§
§on_destroy_remove_emails: Option<bool>If true, destroy all emails in the mailbox when the mailbox itself is
destroyed (RFC 8621 §2.5).
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 MailboxSetParams
impl Clone for MailboxSetParams
Source§fn clone(&self) -> MailboxSetParams
fn clone(&self) -> MailboxSetParams
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more