Struct mailbox::header::Sender
[−]
[src]
pub struct Sender(_);
Methods from Deref<Target = Address>
fn name(&self) -> Option<&str>
The name if any.
This is the first part of an address, which can be bare or quoted, for
example "Someone Somewhere" <someone@somewhe.re>
or Someone Somewhere <someone@somewhe.re>
.
fn user(&self) -> &str
The user.
This is the only mandatory part of an address, for instance it can be
preceded by the name
and followed by a @
and the host, or be the
only part of an address.
fn host(&self) -> Option<&str>
The host if any.
This is the part after the user
preceded by a @
.