Enum imap_codec::command::fetch::MacroOrFetchAttributes   
source · pub enum MacroOrFetchAttributes<'a> {
    Macro(Macro),
    FetchAttributes(Vec<FetchAttribute<'a>, Global>),
}Expand description
A macro must be used by itself, and not in conjunction with other macros or data items.
Variants§
Trait Implementations§
source§impl<'a> Clone for MacroOrFetchAttributes<'a>
 
impl<'a> Clone for MacroOrFetchAttributes<'a>
source§fn clone(&self) -> MacroOrFetchAttributes<'a>
 
fn clone(&self) -> MacroOrFetchAttributes<'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 MacroOrFetchAttributes<'a>
 
impl<'a> Debug for MacroOrFetchAttributes<'a>
source§impl<'a> Encode for MacroOrFetchAttributes<'a>
 
impl<'a> Encode for MacroOrFetchAttributes<'a>
source§impl<'a> From<Macro> for MacroOrFetchAttributes<'a>
 
impl<'a> From<Macro> for MacroOrFetchAttributes<'a>
source§fn from(m: Macro) -> MacroOrFetchAttributes<'a>
 
fn from(m: Macro) -> MacroOrFetchAttributes<'a>
Converts to this type from the input type.
source§impl<'a> From<Vec<FetchAttribute<'a>, Global>> for MacroOrFetchAttributes<'a>
 
impl<'a> From<Vec<FetchAttribute<'a>, Global>> for MacroOrFetchAttributes<'a>
source§fn from(
    attributes: Vec<FetchAttribute<'a>, Global>
) -> MacroOrFetchAttributes<'a>
 
fn from( attributes: Vec<FetchAttribute<'a>, Global> ) -> MacroOrFetchAttributes<'a>
Converts to this type from the input type.
source§impl<'a> Hash for MacroOrFetchAttributes<'a>
 
impl<'a> Hash for MacroOrFetchAttributes<'a>
source§impl<'a> PartialEq<MacroOrFetchAttributes<'a>> for MacroOrFetchAttributes<'a>
 
impl<'a> PartialEq<MacroOrFetchAttributes<'a>> for MacroOrFetchAttributes<'a>
source§fn eq(&self, other: &MacroOrFetchAttributes<'a>) -> bool
 
fn eq(&self, other: &MacroOrFetchAttributes<'a>) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.