pub struct SendEmailRequest {Show 14 fields
pub to: StringOrVec,
pub from: String,
pub subject: Option<String>,
pub template_id: Option<String>,
pub variables: Option<HashMap<String, String>>,
pub reply_to: Option<StringOrVec>,
pub cc: Option<StringOrVec>,
pub bcc: Option<StringOrVec>,
pub text: Option<String>,
pub html: Option<String>,
pub headers: Option<HashMap<String, String>>,
pub attachments: Option<Vec<Attachment>>,
pub scheduled_at: Option<String>,
pub in_reply_to_id: Option<String>,
}Fields§
§to: StringOrVec§from: String§subject: Option<String>§template_id: Option<String>§variables: Option<HashMap<String, String>>§reply_to: Option<StringOrVec>§cc: Option<StringOrVec>§bcc: Option<StringOrVec>§text: Option<String>§html: Option<String>§headers: Option<HashMap<String, String>>§attachments: Option<Vec<Attachment>>§scheduled_at: Option<String>§in_reply_to_id: Option<String>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 · 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<'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
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