pub enum StatusDataItem {
Messages(u32),
Recent(u32),
UidNext(NonZeroU32),
UidValidity(NonZeroU32),
Unseen(u32),
Deleted(u32),
DeletedStorage(u64),
}
Expand description
Status data item.
Variants§
Messages(u32)
The number of messages in the mailbox.
Recent(u32)
The number of messages with the \Recent flag set.
UidNext(NonZeroU32)
The next unique identifier value of the mailbox. Refer to section 2.3.1.1 for more information.
UidValidity(NonZeroU32)
The unique identifier validity value of the mailbox. Refer to section 2.3.1.1 for more information.
Unseen(u32)
The number of messages which do not have the \Seen flag set.
Deleted(u32)
The number of messages with the \Deleted flag set.
DeletedStorage(u64)
The amount of storage space that can be reclaimed by performing EXPUNGE on the mailbox.
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for StatusDataItem
impl<'arbitrary> Arbitrary<'arbitrary> for StatusDataItem
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§impl Clone for StatusDataItem
impl Clone for StatusDataItem
Source§fn clone(&self) -> StatusDataItem
fn clone(&self) -> StatusDataItem
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 StatusDataItem
impl Debug for StatusDataItem
Source§impl<'de> Deserialize<'de> for StatusDataItem
impl<'de> Deserialize<'de> for StatusDataItem
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 Hash for StatusDataItem
impl Hash for StatusDataItem
Source§impl IntoBoundedStatic for StatusDataItem
impl IntoBoundedStatic for StatusDataItem
Source§type Static = StatusDataItem
type Static = StatusDataItem
The target type is bounded by the
'static
lifetime.Source§fn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Convert an owned
T
into an owned T
such that T: 'static
.Source§impl PartialEq for StatusDataItem
impl PartialEq for StatusDataItem
Source§impl Serialize for StatusDataItem
impl Serialize for StatusDataItem
Source§impl ToBoundedStatic for StatusDataItem
impl ToBoundedStatic for StatusDataItem
impl Eq for StatusDataItem
impl StructuralPartialEq for StatusDataItem
Auto Trait Implementations§
impl Freeze for StatusDataItem
impl RefUnwindSafe for StatusDataItem
impl Send for StatusDataItem
impl Sync for StatusDataItem
impl Unpin for StatusDataItem
impl UnwindSafe for StatusDataItem
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