pub struct WorkflowExecution {
pub id: Uuid,
pub workflow_id: WorkflowId,
pub status: WorkflowStatus,
pub current_step: Option<String>,
pub completed_steps: Vec<String>,
pub failed_steps: Vec<String>,
pub context: HashMap<String, Value>,
pub started_at: SystemTime,
pub completed_at: Option<SystemTime>,
pub history: Vec<ExecutionEvent>,
}Expand description
Workflow execution instance.
Fields§
§id: UuidExecution ID
workflow_id: WorkflowIdWorkflow ID
status: WorkflowStatusExecution status
current_step: Option<String>Current step
completed_steps: Vec<String>Completed steps
failed_steps: Vec<String>Failed steps
context: HashMap<String, Value>Execution context (variables)
started_at: SystemTimeStarted at
completed_at: Option<SystemTime>Completed at
history: Vec<ExecutionEvent>Execution history
Trait Implementations§
Source§impl Clone for WorkflowExecution
impl Clone for WorkflowExecution
Source§fn clone(&self) -> WorkflowExecution
fn clone(&self) -> WorkflowExecution
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 WorkflowExecution
impl Debug for WorkflowExecution
Source§impl<'de> Deserialize<'de> for WorkflowExecution
impl<'de> Deserialize<'de> for WorkflowExecution
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 WorkflowExecution
impl RefUnwindSafe for WorkflowExecution
impl Send for WorkflowExecution
impl Sync for WorkflowExecution
impl Unpin for WorkflowExecution
impl UnsafeUnpin for WorkflowExecution
impl UnwindSafe for WorkflowExecution
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