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