[−][src]Struct imap::types::Mailbox
Meta-information about an IMAP mailbox, as returned by
SELECT
and friends.
Fields
flags: Vec<Flag<'static>>
Defined flags in the mailbox. See the description of the FLAGS response for more detail.
exists: u32
The number of messages in the mailbox. See the description of the EXISTS response for more detail.
recent: u32
The number of messages with the \Recent flag set. See the description of the RECENT response for more detail.
unseen: Option<u32>
The message sequence number of the first unseen message in the mailbox. If this is
missing, the client can not make any assumptions about the first unseen message in the
mailbox, and needs to issue a SEARCH
command if it wants to find it.
permanent_flags: Vec<Flag<'static>>
A list of message flags that the client can change permanently. If this is missing, the client should assume that all flags can be changed permanently. If the client attempts to STORE a flag that is not in this list list, the server will either ignore the change or store the state change for the remainder of the current session only.
uid_next: Option<Uid>
The next unique identifier value. If this is missing, the client can not make any assumptions about the next unique identifier value.
uid_validity: Option<u32>
The unique identifier validity value. See Uid
for more details. If this is missing,
the server does not support unique identifiers.
Trait Implementations
impl Clone for Mailbox
[src]
impl Debug for Mailbox
[src]
impl Default for Mailbox
[src]
impl Display for Mailbox
[src]
impl Eq for Mailbox
[src]
impl Hash for Mailbox
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Mailbox> for Mailbox
[src]
impl StructuralEq for Mailbox
[src]
impl StructuralPartialEq for Mailbox
[src]
Auto Trait Implementations
impl RefUnwindSafe for Mailbox
[src]
impl Send for Mailbox
[src]
impl Sync for Mailbox
[src]
impl Unpin for Mailbox
[src]
impl UnwindSafe for Mailbox
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,