pub struct JmapMailboxUpdate {
pub name: Option<String>,
pub parent_id: Option<String>,
pub role: Option<JmapMailboxRole>,
pub sort_order: Option<u32>,
pub is_subscribed: Option<bool>,
}Expand description
Patch object for Mailbox/set update requests (RFC 8620 §5.3): only
Some fields are serialised.
Fields§
§name: Option<String>The user-visible mailbox name.
parent_id: Option<String>The parent mailbox id; None for a top-level mailbox.
role: Option<JmapMailboxRole>The special-use role of the mailbox.
sort_order: Option<u32>Position hint for display ordering (lower first).
is_subscribed: Option<bool>Whether the user is subscribed to the mailbox.
Trait Implementations§
Source§impl Clone for JmapMailboxUpdate
impl Clone for JmapMailboxUpdate
Source§fn clone(&self) -> JmapMailboxUpdate
fn clone(&self) -> JmapMailboxUpdate
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 JmapMailboxUpdate
impl Debug for JmapMailboxUpdate
Source§impl Default for JmapMailboxUpdate
impl Default for JmapMailboxUpdate
Source§fn default() -> JmapMailboxUpdate
fn default() -> JmapMailboxUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JmapMailboxUpdate
impl RefUnwindSafe for JmapMailboxUpdate
impl Send for JmapMailboxUpdate
impl Sync for JmapMailboxUpdate
impl Unpin for JmapMailboxUpdate
impl UnsafeUnpin for JmapMailboxUpdate
impl UnwindSafe for JmapMailboxUpdate
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