Enum eml_parser::eml::EmailAddress
source · [−]pub enum EmailAddress {
AddressOnly {
address: String,
},
NameAndEmailAddress {
name: String,
address: String,
},
}Variants
AddressOnly
Fields
address: StringNameAndEmailAddress
Trait Implementations
sourceimpl Debug for EmailAddress
impl Debug for EmailAddress
sourceimpl Display for EmailAddress
impl Display for EmailAddress
sourceimpl PartialEq<EmailAddress> for EmailAddress
impl PartialEq<EmailAddress> for EmailAddress
sourcefn eq(&self, other: &EmailAddress) -> bool
fn eq(&self, other: &EmailAddress) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &EmailAddress) -> bool
fn ne(&self, other: &EmailAddress) -> bool
This method tests for !=.
impl StructuralPartialEq for EmailAddress
Auto Trait Implementations
impl RefUnwindSafe for EmailAddress
impl Send for EmailAddress
impl Sync for EmailAddress
impl Unpin for EmailAddress
impl UnwindSafe for EmailAddress
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