Enum mml::message::interpreter::ShowHeadersStrategy
source · pub enum ShowHeadersStrategy {
All,
Only(Vec<String>),
}
Expand description
Represents the strategy used to display headers when interpreting emails.
Variants§
All
Transfers all available headers to the interpreted template.
Only(Vec<String>)
Transfers only specific headers to the interpreted template.
Implementations§
Trait Implementations§
source§impl Clone for ShowHeadersStrategy
impl Clone for ShowHeadersStrategy
source§fn clone(&self) -> ShowHeadersStrategy
fn clone(&self) -> ShowHeadersStrategy
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 ShowHeadersStrategy
impl Debug for ShowHeadersStrategy
source§impl Default for ShowHeadersStrategy
impl Default for ShowHeadersStrategy
source§fn default() -> ShowHeadersStrategy
fn default() -> ShowHeadersStrategy
Returns the “default value” for a type. Read more
source§impl PartialEq<ShowHeadersStrategy> for ShowHeadersStrategy
impl PartialEq<ShowHeadersStrategy> for ShowHeadersStrategy
source§fn eq(&self, other: &ShowHeadersStrategy) -> bool
fn eq(&self, other: &ShowHeadersStrategy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ShowHeadersStrategy
impl StructuralEq for ShowHeadersStrategy
impl StructuralPartialEq for ShowHeadersStrategy
Auto Trait Implementations§
impl RefUnwindSafe for ShowHeadersStrategy
impl Send for ShowHeadersStrategy
impl Sync for ShowHeadersStrategy
impl Unpin for ShowHeadersStrategy
impl UnwindSafe for ShowHeadersStrategy
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.