Struct imap_proto::types::acls::ListRights
source · pub struct ListRights<'a> {
pub mailbox: Cow<'a, str>,
pub identifier: Cow<'a, str>,
pub required: Vec<AclRight>,
pub optional: Vec<AclRight>,
}
Fields§
§mailbox: Cow<'a, str>
§identifier: Cow<'a, str>
§required: Vec<AclRight>
§optional: Vec<AclRight>
Implementations§
source§impl<'a> ListRights<'a>
impl<'a> ListRights<'a>
pub fn into_owned(self) -> ListRights<'static>
Trait Implementations§
source§impl<'a> Debug for ListRights<'a>
impl<'a> Debug for ListRights<'a>
source§impl<'a> PartialEq for ListRights<'a>
impl<'a> PartialEq for ListRights<'a>
source§fn eq(&self, other: &ListRights<'a>) -> bool
fn eq(&self, other: &ListRights<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for ListRights<'a>
impl<'a> StructuralPartialEq for ListRights<'a>
Auto Trait Implementations§
impl<'a> Freeze for ListRights<'a>
impl<'a> RefUnwindSafe for ListRights<'a>
impl<'a> Send for ListRights<'a>
impl<'a> Sync for ListRights<'a>
impl<'a> Unpin for ListRights<'a>
impl<'a> UnwindSafe for ListRights<'a>
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