pub struct AddrSpec<'hdr> {
pub display_name: Option<&'hdr str>,
pub local_part: &'hdr str,
pub domain: &'hdr str,
pub raw: &'hdr str,
}Expand description
Addr-spec RFC 2822
Fields§
§display_name: Option<&'hdr str>Display name
local_part: &'hdr strLocal part
domain: &'hdr strDomain
raw: &'hdr strRaw
Trait Implementations§
impl<'hdr> StructuralPartialEq for AddrSpec<'hdr>
Auto Trait Implementations§
impl<'hdr> Freeze for AddrSpec<'hdr>
impl<'hdr> RefUnwindSafe for AddrSpec<'hdr>
impl<'hdr> Send for AddrSpec<'hdr>
impl<'hdr> Sync for AddrSpec<'hdr>
impl<'hdr> Unpin for AddrSpec<'hdr>
impl<'hdr> UnwindSafe for AddrSpec<'hdr>
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