pub struct Step {
pub body: Option<String>,
pub created_at: Option<i32>,
pub delay_seconds: Option<i32>,
pub id: Option<String>,
pub idx: Option<i32>,
pub sequence_id: Option<String>,
pub subject: Option<String>,
}Fields§
§body: Option<String>Body is the message text. Required. The signed one-click unsubscribe link is appended to it at send time.
created_at: Option<i32>CreatedAt is unix seconds, server-assigned.
delay_seconds: Option<i32>DelaySeconds is how long after the previous step this one sends (after enrollment, for step 0).
id: Option<String>ID is the server-assigned step id ("step_" + 128 random bits).
idx: Option<i32>Idx is the step’s 0-based position, assigned by appending: a new step always lands after the last one.
sequence_id: Option<String>SequenceID is the sequence this step belongs to.
subject: Option<String>Subject is the email subject line, capped at 1024 bytes.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Step
impl<'de> Deserialize<'de> for Step
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
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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