pub struct EmailTemplateDataBody {
pub html: String,
pub plaintext: String,
}Fields§
§html: String§plaintext: StringImplementations§
source§impl EmailTemplateDataBody
impl EmailTemplateDataBody
pub fn new(html: String, plaintext: String) -> EmailTemplateDataBody
Trait Implementations§
source§impl Clone for EmailTemplateDataBody
impl Clone for EmailTemplateDataBody
source§fn clone(&self) -> EmailTemplateDataBody
fn clone(&self) -> EmailTemplateDataBody
Returns a copy 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 EmailTemplateDataBody
impl Debug for EmailTemplateDataBody
source§impl<'de> Deserialize<'de> for EmailTemplateDataBody
impl<'de> Deserialize<'de> for EmailTemplateDataBody
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 EmailTemplateDataBody
impl PartialEq for EmailTemplateDataBody
source§fn eq(&self, other: &EmailTemplateDataBody) -> bool
fn eq(&self, other: &EmailTemplateDataBody) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for EmailTemplateDataBody
impl Serialize for EmailTemplateDataBody
impl StructuralPartialEq for EmailTemplateDataBody
Auto Trait Implementations§
impl RefUnwindSafe for EmailTemplateDataBody
impl Send for EmailTemplateDataBody
impl Sync for EmailTemplateDataBody
impl Unpin for EmailTemplateDataBody
impl UnwindSafe for EmailTemplateDataBody
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