[−][src]Struct letterman::client::Email
Fields
dkim_selector: String
private_key: String
server_name: String
name: String
from: String
to: String
cc: String
bcc: String
subject: String
body: String
attach: Vec<String>
attach_base64: Vec<BaseFile>
is_html: bool
date: String
Implementations
impl Email
[src]
pub fn new() -> Email
[src]
pub fn dkim_selector(&mut self, v: String)
[src]
pub fn private_key(&mut self, v: String)
[src]
pub fn server_name(&mut self, v: String)
[src]
pub fn name(&mut self, v: String)
[src]
pub fn to(&mut self, v: String)
[src]
pub fn from(&mut self, v: String)
[src]
pub fn cc(&mut self, v: String)
[src]
pub fn bcc(&mut self, v: String)
[src]
pub fn subject(&mut self, v: String)
[src]
pub fn body(&mut self, v: String)
[src]
pub fn attach(&mut self, v: String)
[src]
pub fn attach_base64(&mut self, name: String, base64: String)
[src]
pub fn is_html(&mut self)
[src]
pub fn get(self) -> Email
[src]
pub fn send(self) -> Result<(), &'static str>
[src]
pub async fn send_tokio(self) -> Result<(), &'static str>
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Email
impl Send for Email
impl Sync for Email
impl Unpin for Email
impl UnwindSafe for Email
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,