pub struct EmailTemplateValues {
pub custom: BTreeMap<String, CustomEntry>,
pub subject: FieldValues,
pub preheader: FieldValues,
pub body_html: FieldValues,
pub body_plaintext: FieldValues,
}Expand description
Resource-scoped values for an email_template. lid / cb_id are
field-scoped because lid is a per-occurrence ID tied to in-field
position. custom lives at the resource root only (RFC §2.2).
Fields§
§custom: BTreeMap<String, CustomEntry>§subject: FieldValues§preheader: FieldValues§body_html: FieldValues§body_plaintext: FieldValuesTrait Implementations§
Source§impl Clone for EmailTemplateValues
impl Clone for EmailTemplateValues
Source§fn clone(&self) -> EmailTemplateValues
fn clone(&self) -> EmailTemplateValues
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EmailTemplateValues
impl Debug for EmailTemplateValues
Source§impl Default for EmailTemplateValues
impl Default for EmailTemplateValues
Source§fn default() -> EmailTemplateValues
fn default() -> EmailTemplateValues
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmailTemplateValues
impl<'de> Deserialize<'de> for EmailTemplateValues
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
Auto Trait Implementations§
impl Freeze for EmailTemplateValues
impl RefUnwindSafe for EmailTemplateValues
impl Send for EmailTemplateValues
impl Sync for EmailTemplateValues
impl Unpin for EmailTemplateValues
impl UnsafeUnpin for EmailTemplateValues
impl UnwindSafe for EmailTemplateValues
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