Enum imap_proto::types::MailboxDatum [−][src]
#[non_exhaustive]
pub enum MailboxDatum<'a> {
Exists(u32),
Flags(Vec<Cow<'a, str>>),
List {
flags: Vec<Cow<'a, str>>,
delimiter: Option<Cow<'a, str>>,
name: Cow<'a, str>,
},
Search(Vec<u32>),
Sort(Vec<u32>),
Status {
mailbox: Cow<'a, str>,
status: Vec<StatusAttribute>,
},
Recent(u32),
MetadataSolicited {
mailbox: Cow<'a, str>,
values: Vec<Metadata>,
},
MetadataUnsolicited {
mailbox: Cow<'a, str>,
values: Vec<Cow<'a, str>>,
},
}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.
Tuple Fields of Exists
0: u32Fields of Status
mailbox: Cow<'a, str>status: Vec<StatusAttribute>Tuple Fields of Recent
0: u32Implementations
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl<'a> RefUnwindSafe for MailboxDatum<'a>
impl<'a> Send for MailboxDatum<'a>
impl<'a> Sync for MailboxDatum<'a>
impl<'a> Unpin for MailboxDatum<'a>
impl<'a> UnwindSafe for MailboxDatum<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more