Enum imap::types::QuotaResourceName
source · Expand description
From Resources
Used by [QuotaLimit
], and QuotaResource
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.
Storage
Sum of messages’ RFC822.SIZE, in units of 1024 octets
Message
Number of messages
Atom(Cow<'a, str>)
Any other string (for future RFCs)
Implementations§
source§impl<'a> QuotaResourceName<'a>
impl<'a> QuotaResourceName<'a>
sourcepub fn into_owned(self) -> QuotaResourceName<'static>
pub fn into_owned(self) -> QuotaResourceName<'static>
Get an owned version of the QuotaResourceName
.
Trait Implementations§
source§impl<'a> Clone for QuotaResourceName<'a>
impl<'a> Clone for QuotaResourceName<'a>
source§fn clone(&self) -> QuotaResourceName<'a>
fn clone(&self) -> QuotaResourceName<'a>
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<'a> Debug for QuotaResourceName<'a>
impl<'a> Debug for QuotaResourceName<'a>
source§impl Display for QuotaResourceName<'_>
impl Display for QuotaResourceName<'_>
source§impl<'a> From<&'a str> for QuotaResourceName<'a>
impl<'a> From<&'a str> for QuotaResourceName<'a>
source§impl<'a> PartialEq<QuotaResourceName<'a>> for QuotaResourceName<'a>
impl<'a> PartialEq<QuotaResourceName<'a>> for QuotaResourceName<'a>
source§fn eq(&self, other: &QuotaResourceName<'a>) -> bool
fn eq(&self, other: &QuotaResourceName<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.