pub struct CreateEmailRequest {
pub from_email_name: Option<String>,
pub subject: Option<Option<String>>,
pub body: Option<Option<String>>,
pub email_address_id: Option<Option<String>>,
pub template_slug: Option<Option<String>>,
}
Fields§
§from_email_name: Option<String>
The email name portion of the sending email address.
e.g.: from_email_name=info
will send from info@example.com
subject: Option<Option<String>>
The subject of the email.
body: Option<Option<String>>
The body of the email.
email_address_id: Option<Option<String>>
The ID of the email address to send to.
template_slug: Option<Option<String>>
The slug of the template to use for sending this email
Implementations§
Source§impl CreateEmailRequest
impl CreateEmailRequest
pub fn new() -> CreateEmailRequest
Trait Implementations§
Source§impl Clone for CreateEmailRequest
impl Clone for CreateEmailRequest
Source§fn clone(&self) -> CreateEmailRequest
fn clone(&self) -> CreateEmailRequest
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 CreateEmailRequest
impl Debug for CreateEmailRequest
Source§impl Default for CreateEmailRequest
impl Default for CreateEmailRequest
Source§fn default() -> CreateEmailRequest
fn default() -> CreateEmailRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateEmailRequest
impl<'de> Deserialize<'de> for CreateEmailRequest
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 CreateEmailRequest
impl PartialEq for CreateEmailRequest
Source§impl Serialize for CreateEmailRequest
impl Serialize for CreateEmailRequest
impl StructuralPartialEq for CreateEmailRequest
Auto Trait Implementations§
impl Freeze for CreateEmailRequest
impl RefUnwindSafe for CreateEmailRequest
impl Send for CreateEmailRequest
impl Sync for CreateEmailRequest
impl Unpin for CreateEmailRequest
impl UnwindSafe for CreateEmailRequest
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