Struct sendgrid::v3::Email
[−]
[src]
pub struct Email { /* fields omitted */ }
An email with a required address and an optional name field.
Methods
impl Email
[src]
fn new() -> Email
Construct a new email type.
fn set_email(&mut self, email: &str)
Set the address for this email.
fn set_name(&mut self, name: &str)
Set an optional name.
Trait Implementations
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