pub enum HeaderFieldValue {
SingleEmailAddress(EmailAddress),
MultipleEmailAddresses(Vec<EmailAddress>),
Unstructured(String),
Empty,
}
Variants§
SingleEmailAddress(EmailAddress)
MultipleEmailAddresses(Vec<EmailAddress>)
Unstructured(String)
Empty
Trait Implementations§
Source§impl Debug for HeaderFieldValue
impl Debug for HeaderFieldValue
Source§impl Display for HeaderFieldValue
Custom formatting for header values.
For example, an email may comprise a name and address formatted as: “Name”
impl Display for HeaderFieldValue
Custom formatting for header values.
For example, an email may comprise a name and address formatted as: “Name”
Source§impl PartialEq for HeaderFieldValue
impl PartialEq for HeaderFieldValue
impl StructuralPartialEq for HeaderFieldValue
Auto Trait Implementations§
impl Freeze for HeaderFieldValue
impl RefUnwindSafe for HeaderFieldValue
impl Send for HeaderFieldValue
impl Sync for HeaderFieldValue
impl Unpin for HeaderFieldValue
impl UnwindSafe for HeaderFieldValue
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