pub struct JmapMailboxSetArgs {
pub create: Option<BTreeMap<String, JmapMailboxCreate>>,
pub update: Option<BTreeMap<String, JmapMailboxUpdate>>,
pub destroy: Option<Vec<String>>,
pub on_destroy_remove_emails: Option<bool>,
}Expand description
Arguments for a Mailbox/set request.
Fields§
§create: Option<BTreeMap<String, JmapMailboxCreate>>Objects to create (client ID → partial mailbox object).
update: Option<BTreeMap<String, JmapMailboxUpdate>>Objects to update (mailbox ID → patch object).
destroy: Option<Vec<String>>IDs of objects to destroy.
on_destroy_remove_emails: Option<bool>Whether to destroy contained emails when destroying a mailbox.
Trait Implementations§
Source§impl Clone for JmapMailboxSetArgs
impl Clone for JmapMailboxSetArgs
Source§fn clone(&self) -> JmapMailboxSetArgs
fn clone(&self) -> JmapMailboxSetArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JmapMailboxSetArgs
impl Debug for JmapMailboxSetArgs
Source§impl Default for JmapMailboxSetArgs
impl Default for JmapMailboxSetArgs
Source§fn default() -> JmapMailboxSetArgs
fn default() -> JmapMailboxSetArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JmapMailboxSetArgs
impl RefUnwindSafe for JmapMailboxSetArgs
impl Send for JmapMailboxSetArgs
impl Sync for JmapMailboxSetArgs
impl Unpin for JmapMailboxSetArgs
impl UnsafeUnpin for JmapMailboxSetArgs
impl UnwindSafe for JmapMailboxSetArgs
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