pub struct Email { /* fields omitted */ }
Expand description
Create a new instance of Email
.
Sets the email address to send the email to.
Sets a list of email addresses to send the email to.
Sets a list of email addresses to BCC.
Sets a list of email addresses to CC.
pub fn body(self, body: &str) -> Self
pub fn attach(self, attachment: Fd) -> Self
Attaches a file to the email.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more
Get the signature for the implementing type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,