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 Default for EmailTemplateDataBody
impl Default for EmailTemplateDataBody
Source§fn default() -> EmailTemplateDataBody
fn default() -> EmailTemplateDataBody
Returns the “default value” for a type. Read more
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§impl Serialize for EmailTemplateDataBody
impl Serialize for EmailTemplateDataBody
impl StructuralPartialEq for EmailTemplateDataBody
Auto Trait Implementations§
impl Freeze for EmailTemplateDataBody
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