pub struct WorkflowNodeState {
pub node_id: NodeId,
pub task: LogicalTask,
pub depends_on: Vec<NodeId>,
pub run_spec: Option<LogicalAgentSpec>,
pub kind: String,
pub status: String,
pub active_agent_id: Option<String>,
pub iterations_completed: u32,
}Expand description
One workflow node as source state rather than a snapshot of TaskGraph internals.
kind is explicit even though the canonical ABI currently admits only spawn: a checkpoint
must fail closed if a future producer writes a control-flow kind this revision cannot rebuild.
Fields§
§node_id: NodeId§task: LogicalTask§depends_on: Vec<NodeId>§run_spec: Option<LogicalAgentSpec>§kind: String§status: String§active_agent_id: Option<String>The deterministic child identity while this node is running.
iterations_completed: u32Trait Implementations§
Source§impl Clone for WorkflowNodeState
impl Clone for WorkflowNodeState
Source§fn clone(&self) -> WorkflowNodeState
fn clone(&self) -> WorkflowNodeState
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 WorkflowNodeState
impl Debug for WorkflowNodeState
Source§impl<'de> Deserialize<'de> for WorkflowNodeState
impl<'de> Deserialize<'de> for WorkflowNodeState
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
Source§impl PartialEq for WorkflowNodeState
impl PartialEq for WorkflowNodeState
Source§impl Serialize for WorkflowNodeState
impl Serialize for WorkflowNodeState
impl StructuralPartialEq for WorkflowNodeState
Auto Trait Implementations§
impl Freeze for WorkflowNodeState
impl RefUnwindSafe for WorkflowNodeState
impl Send for WorkflowNodeState
impl Sync for WorkflowNodeState
impl Unpin for WorkflowNodeState
impl UnsafeUnpin for WorkflowNodeState
impl UnwindSafe for WorkflowNodeState
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