pub struct SendEmailRequest {
pub account_id: Option<String>,
pub to: Vec<String>,
pub cc: Option<Vec<String>>,
pub bcc: Option<Vec<String>>,
pub subject: String,
pub body: String,
pub html: Option<bool>,
pub attachments: Option<Vec<AttachmentInput>>,
pub in_reply_to: Option<String>,
pub references: Option<Vec<String>>,
}Fields§
§account_id: Option<String>§to: Vec<String>§cc: Option<Vec<String>>§bcc: Option<Vec<String>>§subject: String§body: String§html: Option<bool>§attachments: Option<Vec<AttachmentInput>>§in_reply_to: Option<String>§references: Option<Vec<String>>Implementations§
Trait Implementations§
Source§impl Clone for SendEmailRequest
impl Clone for SendEmailRequest
Source§fn clone(&self) -> SendEmailRequest
fn clone(&self) -> SendEmailRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SendEmailRequest
impl Debug for SendEmailRequest
Source§impl Default for SendEmailRequest
impl Default for SendEmailRequest
Source§fn default() -> SendEmailRequest
fn default() -> SendEmailRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SendEmailRequest
impl<'de> Deserialize<'de> for SendEmailRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SendEmailRequest
impl PartialEq for SendEmailRequest
Source§fn eq(&self, other: &SendEmailRequest) -> bool
fn eq(&self, other: &SendEmailRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SendEmailRequest
impl Serialize for SendEmailRequest
impl StructuralPartialEq for SendEmailRequest
Auto Trait Implementations§
impl Freeze for SendEmailRequest
impl RefUnwindSafe for SendEmailRequest
impl Send for SendEmailRequest
impl Sync for SendEmailRequest
impl Unpin for SendEmailRequest
impl UnsafeUnpin for SendEmailRequest
impl UnwindSafe for SendEmailRequest
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