Struct mail_parser::Addr
source · pub struct Addr<'x> {
pub name: Option<Cow<'x, str>>,
pub address: Option<Cow<'x, str>>,
}
Expand description
An RFC5322 or RFC2369 internet address.
Fields§
§name: Option<Cow<'x, str>>
The address name including comments
address: Option<Cow<'x, str>>
An e-mail address (RFC5322/RFC2369) or URL (RFC2369)
Implementations§
Trait Implementations§
source§impl<'x> PartialEq for Addr<'x>
impl<'x> PartialEq for Addr<'x>
impl<'x> Eq for Addr<'x>
impl<'x> StructuralPartialEq for Addr<'x>
Auto Trait Implementations§
impl<'x> Freeze for Addr<'x>
impl<'x> RefUnwindSafe for Addr<'x>
impl<'x> Send for Addr<'x>
impl<'x> Sync for Addr<'x>
impl<'x> Unpin for Addr<'x>
impl<'x> UnwindSafe for Addr<'x>
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