Enum eml_parser::eml::HeaderFieldValue
source · [−]pub enum HeaderFieldValue {
SingleEmailAddress(EmailAddress),
MultipleEmailAddresses(Vec<EmailAddress>),
Unstructured(String),
Empty,
}Variants
SingleEmailAddress(EmailAddress)
MultipleEmailAddresses(Vec<EmailAddress>)
Unstructured(String)
Empty
Trait Implementations
sourceimpl Debug for HeaderFieldValue
impl Debug for HeaderFieldValue
sourceimpl Display for HeaderFieldValue
impl Display for HeaderFieldValue
Custom formatting for header values.
For example, an email may comprise a name and address formatted as: “Name”
sourceimpl PartialEq<HeaderFieldValue> for HeaderFieldValue
impl PartialEq<HeaderFieldValue> for HeaderFieldValue
sourcefn eq(&self, other: &HeaderFieldValue) -> bool
fn eq(&self, other: &HeaderFieldValue) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &HeaderFieldValue) -> bool
fn ne(&self, other: &HeaderFieldValue) -> bool
This method tests for !=.
impl StructuralPartialEq for HeaderFieldValue
Auto Trait Implementations
impl RefUnwindSafe for HeaderFieldValue
impl Send for HeaderFieldValue
impl Sync for HeaderFieldValue
impl Unpin for HeaderFieldValue
impl UnwindSafe for HeaderFieldValue
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