Struct lettre::EmailAddress
[−]
[src]
pub struct EmailAddress(pub String);
Email address
Methods
impl EmailAddress
[src]
fn new(address: String) -> EmailAddress
[src]
Creates a new email address
Trait Implementations
impl PartialEq for EmailAddress
[src]
fn eq(&self, __arg_0: &EmailAddress) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EmailAddress) -> bool
[src]
This method tests for !=
.
impl Eq for EmailAddress
[src]
impl Clone for EmailAddress
[src]
fn clone(&self) -> EmailAddress
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more