Struct mail_parser::Addr
source · [−]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
impl<'x> Eq for Addr<'x>
impl<'x> StructuralEq for Addr<'x>
impl<'x> StructuralPartialEq for Addr<'x>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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