pub struct JmapMailboxRights {
pub may_read_items: bool,
pub may_add_items: bool,
pub may_remove_items: bool,
pub may_set_seen: bool,
pub may_set_keywords: bool,
pub may_create_child: bool,
pub may_rename: bool,
pub may_delete: bool,
pub may_submit: bool,
}Expand description
Access rights on a mailbox (RFC 8621 §2.1).
Fields§
§may_read_items: boolMay read items in the mailbox.
may_add_items: boolMay add items to the mailbox.
may_remove_items: boolMay remove items from the mailbox.
may_set_seen: boolMay set/unset the $seen keyword on items.
may_set_keywords: boolMay set/unset any keyword other than $seen.
may_create_child: boolMay create child mailboxes.
may_rename: boolMay rename this mailbox.
may_delete: boolMay delete this mailbox.
may_submit: boolMay submit email from this mailbox.
Trait Implementations§
Source§impl Clone for JmapMailboxRights
impl Clone for JmapMailboxRights
Source§fn clone(&self) -> JmapMailboxRights
fn clone(&self) -> JmapMailboxRights
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 JmapMailboxRights
impl Debug for JmapMailboxRights
Source§impl Default for JmapMailboxRights
impl Default for JmapMailboxRights
Source§fn default() -> JmapMailboxRights
fn default() -> JmapMailboxRights
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JmapMailboxRights
impl<'de> Deserialize<'de> for JmapMailboxRights
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for JmapMailboxRights
impl RefUnwindSafe for JmapMailboxRights
impl Send for JmapMailboxRights
impl Sync for JmapMailboxRights
impl Unpin for JmapMailboxRights
impl UnsafeUnpin for JmapMailboxRights
impl UnwindSafe for JmapMailboxRights
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