pub struct ExecutionState {
pub workflow_id: String,
pub session_id: String,
pub current_step: Option<String>,
pub completed_steps: Vec<String>,
pub failed_steps: Vec<String>,
pub step_results: HashMap<String, Value>,
pub status: WorkflowStatus,
pub created_at: u64,
pub updated_at: u64,
}Expand description
Complete workflow execution state
Fields§
§workflow_id: StringUnique workflow instance ID
session_id: StringSession ID for this execution
current_step: Option<String>Current executing step ID
completed_steps: Vec<String>List of completed step IDs
failed_steps: Vec<String>List of failed step IDs
step_results: HashMap<String, Value>Results from each step
status: WorkflowStatusCurrent workflow status
created_at: u64Creation timestamp (Unix epoch)
updated_at: u64Last update timestamp (Unix epoch)
Trait Implementations§
Source§impl Clone for ExecutionState
impl Clone for ExecutionState
Source§fn clone(&self) -> ExecutionState
fn clone(&self) -> ExecutionState
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 ExecutionState
impl Debug for ExecutionState
Source§impl<'de> Deserialize<'de> for ExecutionState
impl<'de> Deserialize<'de> for ExecutionState
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 ExecutionState
impl RefUnwindSafe for ExecutionState
impl Send for ExecutionState
impl Sync for ExecutionState
impl Unpin for ExecutionState
impl UnwindSafe for ExecutionState
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