Enum imap_types::fetch::Macro
source · #[non_exhaustive]pub enum Macro {
Fast,
All,
Full,
}
Expand description
Shorthands for commonly-used message data items.
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.
Fast
Shorthand for (FLAGS INTERNALDATE RFC822.SIZE)
.
All
Shorthand for (FLAGS INTERNALDATE RFC822.SIZE ENVELOPE)
.
Full
Shorthand for (FLAGS INTERNALDATE RFC822.SIZE ENVELOPE BODY)
.
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Macro
impl<'arbitrary> Arbitrary<'arbitrary> for Macro
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<'de> Deserialize<'de> for Macro
impl<'de> Deserialize<'de> for Macro
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<'a> From<Macro> for MacroOrMessageDataItemNames<'a>
impl<'a> From<Macro> for MacroOrMessageDataItemNames<'a>
source§impl IntoBoundedStatic for Macro
impl IntoBoundedStatic for Macro
source§impl PartialEq<Macro> for Macro
impl PartialEq<Macro> for Macro
source§impl ToBoundedStatic for Macro
impl ToBoundedStatic for Macro
impl Eq for Macro
impl StructuralEq for Macro
impl StructuralPartialEq for Macro
Auto Trait Implementations§
impl RefUnwindSafe for Macro
impl Send for Macro
impl Sync for Macro
impl Unpin for Macro
impl UnwindSafe for Macro
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