Enum imap_types::status::StatusDataItem
source · 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)
Available on crate feature
ext_quota
only.The number of messages with the \Deleted flag set.
DeletedStorage(u64)
Available on crate feature
ext_quota
only.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§impl Clone for StatusDataItem
impl Clone for StatusDataItem
source§fn clone(&self) -> StatusDataItem
fn clone(&self) -> StatusDataItem
Returns a copy 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
§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<StatusDataItem> for StatusDataItem
impl PartialEq<StatusDataItem> for StatusDataItem
source§fn eq(&self, other: &StatusDataItem) -> bool
fn eq(&self, other: &StatusDataItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatusDataItem
impl Serialize for StatusDataItem
source§impl ToBoundedStatic for StatusDataItem
impl ToBoundedStatic for StatusDataItem
impl Eq for StatusDataItem
impl StructuralEq for StatusDataItem
impl StructuralPartialEq for StatusDataItem
Auto Trait Implementations§
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