pub struct SendEmailRequest<'a> {
pub subject: String,
pub from: String,
pub to: Vec<String>,
pub cc: Option<Vec<String>>,
pub bcc: Option<Vec<String>>,
pub reply_to: Option<String>,
pub html: Option<String>,
pub text: Option<String>,
pub tags: Option<Vec<Tag>>,
pub attachments: Option<Vec<&'a Attachment>>,
pub headers: Option<HashMap<String, String>>,
}
Fields§
§subject: String
§from: String
§to: Vec<String>
§cc: Option<Vec<String>>
§bcc: Option<Vec<String>>
§reply_to: Option<String>
§html: Option<String>
§text: Option<String>
§attachments: Option<Vec<&'a Attachment>>
§headers: Option<HashMap<String, String>>
Trait Implementations§
Source§impl<'a> Clone for SendEmailRequest<'a>
impl<'a> Clone for SendEmailRequest<'a>
Source§fn clone(&self) -> SendEmailRequest<'a>
fn clone(&self) -> SendEmailRequest<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for SendEmailRequest<'a>
impl<'a> Debug for SendEmailRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for SendEmailRequest<'a>
impl<'a> RefUnwindSafe for SendEmailRequest<'a>
impl<'a> Send for SendEmailRequest<'a>
impl<'a> Sync for SendEmailRequest<'a>
impl<'a> Unpin for SendEmailRequest<'a>
impl<'a> UnwindSafe for SendEmailRequest<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more