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
sourceimpl<'de, 'x> Deserialize<'de> for Addr<'x>
impl<'de, 'x> Deserialize<'de> for Addr<'x>
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 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