[][src]Struct letterman::client::Email

pub struct Email {
    pub dkim_selector: String,
    pub private_key: String,
    pub server_name: String,
    pub name: String,
    pub from: String,
    pub to: String,
    pub cc: String,
    pub bcc: String,
    pub subject: String,
    pub body: String,
    pub attach: Vec<String>,
    pub attach_base64: Vec<BaseFile>,
    pub is_html: bool,
    pub date: String,
}

Fields

dkim_selector: Stringprivate_key: Stringserver_name: Stringname: Stringfrom: Stringto: Stringcc: Stringbcc: Stringsubject: Stringbody: Stringattach: Vec<String>attach_base64: Vec<BaseFile>is_html: booldate: 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

impl Clone for Email[src]

impl Debug for Email[src]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,