pub struct SequenceStep {
pub id: TemporalId,
pub label: String,
pub order: u32,
pub duration_secs: Option<i64>,
pub status: StepStatus,
pub parallel_with_next: bool,
pub depends_on: Vec<u32>,
pub started_at: Option<DateTime<Utc>>,
pub completed_at: Option<DateTime<Utc>>,
}Expand description
A single step in a sequence.
Fields§
§id: TemporalIdStep identifier.
label: StringStep label.
order: u32Order in sequence (0-indexed).
duration_secs: Option<i64>Expected duration in seconds.
status: StepStatusStep status.
parallel_with_next: boolCan be done in parallel with next step?
depends_on: Vec<u32>Dependencies within sequence (order indices).
started_at: Option<DateTime<Utc>>When step started.
completed_at: Option<DateTime<Utc>>When step completed.
Implementations§
Trait Implementations§
Source§impl Clone for SequenceStep
impl Clone for SequenceStep
Source§fn clone(&self) -> SequenceStep
fn clone(&self) -> SequenceStep
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 SequenceStep
impl Debug for SequenceStep
Source§impl<'de> Deserialize<'de> for SequenceStep
impl<'de> Deserialize<'de> for SequenceStep
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 SequenceStep
impl RefUnwindSafe for SequenceStep
impl Send for SequenceStep
impl Sync for SequenceStep
impl Unpin for SequenceStep
impl UnsafeUnpin for SequenceStep
impl UnwindSafe for SequenceStep
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