pub struct SendEmailStepConfig {
pub template: AutomationTemplate,
pub subject: Option<String>,
pub from: Option<String>,
pub reply_to: Option<String>,
pub variables: Option<Value>,
}Fields§
§template: AutomationTemplate§subject: Option<String>§from: Option<String>§reply_to: Option<String>§variables: Option<Value>Implementations§
Source§impl SendEmailStepConfig
impl SendEmailStepConfig
pub fn new(template: AutomationTemplate) -> Self
pub fn with_subject(self, subject: impl Into<String>) -> Self
pub fn with_from(self, from: impl Into<String>) -> Self
pub fn with_reply_to(self, reply_to: impl Into<String>) -> Self
pub fn with_variables(self, variables: Value) -> Self
Trait Implementations§
Source§impl Clone for SendEmailStepConfig
impl Clone for SendEmailStepConfig
Source§fn clone(&self) -> SendEmailStepConfig
fn clone(&self) -> SendEmailStepConfig
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 SendEmailStepConfig
impl Debug for SendEmailStepConfig
Source§impl<'de> Deserialize<'de> for SendEmailStepConfig
impl<'de> Deserialize<'de> for SendEmailStepConfig
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 SendEmailStepConfig
impl RefUnwindSafe for SendEmailStepConfig
impl Send for SendEmailStepConfig
impl Sync for SendEmailStepConfig
impl Unpin for SendEmailStepConfig
impl UnsafeUnpin for SendEmailStepConfig
impl UnwindSafe for SendEmailStepConfig
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