Struct lettre::email::Email [] [src]

pub struct Email {
    // some fields omitted
}

Simple email representation

Trait Implementations

impl Debug for Email
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Email
[src]

fn clone(&self) -> Email

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Eq for Email
[src]

impl PartialEq for Email
[src]

fn eq(&self, __arg_0: &Email) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Email) -> bool

This method tests for !=.

impl Display for Email
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl SendableEmail for Email
[src]

fn to_addresses(&self) -> Vec<String>

To addresses

fn from_address(&self) -> String

From address

fn message(&self) -> String

Message content

fn message_id(&self) -> String

Message ID