Enum jmap_client::email::HeaderForm
source · 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<HeaderForm> for HeaderForm
impl PartialEq<HeaderForm> for HeaderForm
source§fn eq(&self, other: &HeaderForm) -> bool
fn eq(&self, other: &HeaderForm) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<HeaderForm> for HeaderForm
impl PartialOrd<HeaderForm> for HeaderForm
source§fn partial_cmp(&self, other: &HeaderForm) -> Option<Ordering>
fn partial_cmp(&self, other: &HeaderForm) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for HeaderForm
impl StructuralEq for HeaderForm
impl StructuralPartialEq for HeaderForm
Auto Trait Implementations§
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<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.