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