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).
Trait Implementations§
Source§impl Debug for MailboxSetParams
impl Debug for MailboxSetParams
Source§impl Default for MailboxSetParams
impl Default for MailboxSetParams
Source§fn default() -> MailboxSetParams
fn default() -> MailboxSetParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MailboxSetParams
impl RefUnwindSafe for MailboxSetParams
impl Send for MailboxSetParams
impl Sync for MailboxSetParams
impl Unpin for MailboxSetParams
impl UnsafeUnpin for MailboxSetParams
impl UnwindSafe for MailboxSetParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more