#[non_exhaustive]pub enum MailboxRole {
Inbox,
Sent,
Drafts,
Trash,
Junk,
Archive,
Notes,
Other,
}Expand description
Which well-known mailbox a path plays, when the server says.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Inbox
Inbox.
Sent
Sent messages.
Drafts
Drafts.
Trash
Trash.
Junk
Junk.
Archive
Archive.
Notes
Notes stored as mail.
Other
A mailbox with no special role.
Trait Implementations§
Source§impl Clone for MailboxRole
impl Clone for MailboxRole
impl Copy for MailboxRole
Source§impl Debug for MailboxRole
impl Debug for MailboxRole
impl Eq for MailboxRole
Source§impl Hash for MailboxRole
impl Hash for MailboxRole
Source§impl PartialEq for MailboxRole
impl PartialEq for MailboxRole
impl StructuralPartialEq for MailboxRole
Auto Trait Implementations§
impl Forget for MailboxRole
impl Freeze for MailboxRole
impl Move for MailboxRole
impl RefUnwindSafe for MailboxRole
impl Send for MailboxRole
impl Sync for MailboxRole
impl Unpin for MailboxRole
impl UnsafeUnpin for MailboxRole
impl UnwindSafe for MailboxRole
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