pub enum HeaderForm {
Raw,
Text,
Addresses,
GroupedAddresses,
MessageIds,
Date,
URLs,
}
Variants§
Implementations§
Source§impl HeaderForm
impl HeaderForm
pub fn parse(value: &str) -> Option<HeaderForm>
Trait Implementations§
Source§impl Clone for HeaderForm
impl Clone for HeaderForm
Source§fn clone(&self) -> HeaderForm
fn clone(&self) -> HeaderForm
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 HeaderForm
impl Debug for HeaderForm
Source§impl Display for HeaderForm
impl Display for HeaderForm
Source§impl Hash for HeaderForm
impl Hash for HeaderForm
Source§impl Ord for HeaderForm
impl Ord for HeaderForm
Source§fn cmp(&self, other: &HeaderForm) -> Ordering
fn cmp(&self, other: &HeaderForm) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HeaderForm
impl PartialEq for HeaderForm
Source§impl PartialOrd for HeaderForm
impl PartialOrd for HeaderForm
impl Eq for HeaderForm
impl StructuralPartialEq for HeaderForm
Auto Trait Implementations§
impl Freeze for HeaderForm
impl RefUnwindSafe for HeaderForm
impl Send for HeaderForm
impl Sync for HeaderForm
impl Unpin for HeaderForm
impl UnwindSafe for HeaderForm
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.