[][src]Enum lettre_email::Address

pub enum Address {
    Mailbox(Mailbox),
    Group(StringVec<Mailbox>),
}

Represents an RFC 5322 Address

Variants

A "regular" email address

A named group of mailboxes

Methods

impl Address
[src]

Shortcut function to make a new Mailbox with the given address [unstable]

Shortcut function to make a new Mailbox with the address and given-name [unstable]

Shortcut function to make a new Group with a collection of mailboxes [unstable]

Trait Implementations

impl Clone for Address
[src]

Performs copy-assignment from source. Read more

impl Display for Address
[src]

impl Eq for Address
[src]

impl Debug for Address
[src]

impl PartialEq<Address> for Address
[src]

Auto Trait Implementations

impl Send for Address

impl Sync for Address

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]