Enum imap_types::command::fetch::MacroOrFetchAttributes
source · [−]pub enum MacroOrFetchAttributes<'a> {
Macro(Macro),
FetchAttributes(Vec<FetchAttribute<'a>>),
}Expand description
A macro must be used by itself, and not in conjunction with other macros or data items.
Variants
Macro(Macro)
FetchAttributes(Vec<FetchAttribute<'a>>)
Trait Implementations
sourceimpl<'a> Clone for MacroOrFetchAttributes<'a>
impl<'a> Clone for MacroOrFetchAttributes<'a>
sourcefn clone(&self) -> MacroOrFetchAttributes<'a>
fn clone(&self) -> MacroOrFetchAttributes<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> Debug for MacroOrFetchAttributes<'a>
impl<'a> Debug for MacroOrFetchAttributes<'a>
sourceimpl<'a> Encode for MacroOrFetchAttributes<'a>
impl<'a> Encode for MacroOrFetchAttributes<'a>
sourceimpl<'a> From<Macro> for MacroOrFetchAttributes<'a>
impl<'a> From<Macro> for MacroOrFetchAttributes<'a>
sourceimpl<'a> From<Vec<FetchAttribute<'a>, Global>> for MacroOrFetchAttributes<'a>
impl<'a> From<Vec<FetchAttribute<'a>, Global>> for MacroOrFetchAttributes<'a>
sourcefn from(attributes: Vec<FetchAttribute<'a>>) -> Self
fn from(attributes: Vec<FetchAttribute<'a>>) -> Self
Converts to this type from the input type.
sourceimpl<'a> Hash for MacroOrFetchAttributes<'a>
impl<'a> Hash for MacroOrFetchAttributes<'a>
sourceimpl<'a> PartialEq<MacroOrFetchAttributes<'a>> for MacroOrFetchAttributes<'a>
impl<'a> PartialEq<MacroOrFetchAttributes<'a>> for MacroOrFetchAttributes<'a>
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &MacroOrFetchAttributes<'a>) -> bool
fn ne(&self, other: &MacroOrFetchAttributes<'a>) -> bool
This method tests for !=.
impl<'a> Eq for MacroOrFetchAttributes<'a>
impl<'a> StructuralEq for MacroOrFetchAttributes<'a>
impl<'a> StructuralPartialEq for MacroOrFetchAttributes<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for MacroOrFetchAttributes<'a>
impl<'a> Send for MacroOrFetchAttributes<'a>
impl<'a> Sync for MacroOrFetchAttributes<'a>
impl<'a> Unpin for MacroOrFetchAttributes<'a>
impl<'a> UnwindSafe for MacroOrFetchAttributes<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more