pub struct Sequence {
pub created_at: Option<i32>,
pub id: Option<String>,
pub name: Option<String>,
pub status: Option<String>,
pub updated_at: Option<i32>,
}Fields§
§created_at: Option<i32>CreatedAt is unix seconds when the sequence was registered, server-assigned and never rewritten.
id: Option<String>ID is the server-assigned sequence id ("seq_" + 128 random bits).
name: Option<String>Name is the sequence’s label. Required, trimmed, capped at 1024 bytes.
status: Option<String>Status is the lifecycle: draft, active or archived. Empty means draft, and ONLY an active sequence accepts enrollments.
updated_at: Option<i32>UpdatedAt is unix seconds of the last status flip, server-assigned, and the key the sequence list is ordered by (newest first). Adding a step or enrolling a contact does NOT touch it — only draft/active/archived does — so it tracks activation rather than activity.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sequence
impl<'de> Deserialize<'de> for Sequence
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 Sequence
Auto Trait Implementations§
impl Freeze for Sequence
impl RefUnwindSafe for Sequence
impl Send for Sequence
impl Sync for Sequence
impl Unpin for Sequence
impl UnsafeUnpin for Sequence
impl UnwindSafe for Sequence
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