pub struct MailboxRights { /* private fields */ }
Implementations§
Source§impl MailboxRights
impl MailboxRights
pub fn may_read_items(&self) -> bool
pub fn may_add_items(&self) -> bool
pub fn may_remove_items(&self) -> bool
pub fn may_set_seen(&self) -> bool
pub fn may_set_keywords(&self) -> bool
pub fn may_create_child(&self) -> bool
pub fn may_rename(&self) -> bool
pub fn may_delete(&self) -> bool
pub fn may_submit(&self) -> bool
pub fn acl_list(&self) -> Vec<ACL>
Trait Implementations§
Source§impl Clone for MailboxRights
impl Clone for MailboxRights
Source§fn clone(&self) -> MailboxRights
fn clone(&self) -> MailboxRights
Returns a duplicate of the value. Read more
1.0.0 · 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 MailboxRights
impl Debug for MailboxRights
Source§impl<'de> Deserialize<'de> for MailboxRights
impl<'de> Deserialize<'de> for MailboxRights
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
Source§impl PartialEq for MailboxRights
impl PartialEq for MailboxRights
Source§impl Serialize for MailboxRights
impl Serialize for MailboxRights
impl Eq for MailboxRights
impl StructuralPartialEq for MailboxRights
Auto Trait Implementations§
impl Freeze for MailboxRights
impl RefUnwindSafe for MailboxRights
impl Send for MailboxRights
impl Sync for MailboxRights
impl Unpin for MailboxRights
impl UnwindSafe for MailboxRights
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