pub struct CreateEmailTemplateBody {
pub email_template_id: String,
pub display_name: String,
pub ejs: String,
pub domain: Option<String>,
pub translation_overrides_by_locale: Option<HashMap<String, HashMap<String, String>>>,
pub test_data: Option<HashMap<String, Value>>,
}Fields§
§email_template_id: String§display_name: String§ejs: String§domain: Option<String>§translation_overrides_by_locale: Option<HashMap<String, HashMap<String, String>>>Construct a type with a set of properties K of type T
test_data: Option<HashMap<String, Value>>Construct a type with a set of properties K of type T
Implementations§
Trait Implementations§
Source§impl Clone for CreateEmailTemplateBody
impl Clone for CreateEmailTemplateBody
Source§fn clone(&self) -> CreateEmailTemplateBody
fn clone(&self) -> CreateEmailTemplateBody
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 CreateEmailTemplateBody
impl Debug for CreateEmailTemplateBody
Source§impl Default for CreateEmailTemplateBody
impl Default for CreateEmailTemplateBody
Source§fn default() -> CreateEmailTemplateBody
fn default() -> CreateEmailTemplateBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateEmailTemplateBody
impl<'de> Deserialize<'de> for CreateEmailTemplateBody
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 CreateEmailTemplateBody
impl PartialEq for CreateEmailTemplateBody
Source§impl Serialize for CreateEmailTemplateBody
impl Serialize for CreateEmailTemplateBody
impl StructuralPartialEq for CreateEmailTemplateBody
Auto Trait Implementations§
impl Freeze for CreateEmailTemplateBody
impl RefUnwindSafe for CreateEmailTemplateBody
impl Send for CreateEmailTemplateBody
impl Sync for CreateEmailTemplateBody
impl Unpin for CreateEmailTemplateBody
impl UnwindSafe for CreateEmailTemplateBody
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