pub struct WorkflowStep {
pub id: String,
pub workflow_id: String,
pub step_index: i64,
pub name: String,
pub status: String,
pub input: Option<Value>,
pub output: Option<Value>,
pub error: Option<String>,
pub started_at: Option<i64>,
pub completed_at: Option<i64>,
}Expand description
A single step within a workflow.
Fields§
§id: StringUnique identifier for this step.
workflow_id: StringID of the parent workflow.
step_index: i64Zero-based position of the step within the workflow.
name: StringHuman-readable name for the step.
status: StringCurrent status ("pending", "running", "completed", "failed").
input: Option<Value>JSON input payload for this step.
output: Option<Value>JSON output payload produced by this step.
error: Option<String>Error message if the step failed.
started_at: Option<i64>Unix-millisecond timestamp when execution of this step began.
completed_at: Option<i64>Unix-millisecond timestamp when execution of this step finished.
Trait Implementations§
Source§impl Clone for WorkflowStep
impl Clone for WorkflowStep
Source§fn clone(&self) -> WorkflowStep
fn clone(&self) -> WorkflowStep
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 WorkflowStep
impl Debug for WorkflowStep
Source§impl<'de> Deserialize<'de> for WorkflowStep
impl<'de> Deserialize<'de> for WorkflowStep
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 WorkflowStep
impl RefUnwindSafe for WorkflowStep
impl Send for WorkflowStep
impl Sync for WorkflowStep
impl Unpin for WorkflowStep
impl UnsafeUnpin for WorkflowStep
impl UnwindSafe for WorkflowStep
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