pub struct ExecutionStepEntry {
pub step: u32,
pub node_id: String,
pub handler_type: Option<String>,
pub context_before: RunContext,
pub outcome: NodeOutcome,
pub context_after: RunContext,
pub next_node_id: Option<String>,
pub completed_nodes_after: Vec<String>,
}Expand description
One recorded step in the execution log.
Fields§
§step: u321-based step index.
node_id: StringNode that was executed.
handler_type: Option<String>Handler type (e.g. “start”, “exit”, “codergen”, “exec”).
context_before: RunContextContext before executing the node.
outcome: NodeOutcomeOutcome of the node execution.
context_after: RunContextContext after applying outcome context_updates.
next_node_id: Option<String>Next node selected by the edge (if any).
completed_nodes_after: Vec<String>completed_nodes list after this step.
Implementations§
Source§impl ExecutionStepEntry
impl ExecutionStepEntry
Sourcepub fn new(
step: u32,
node_id: impl Into<String>,
handler_type: Option<String>,
context_before: RunContext,
outcome: NodeOutcome,
context_after: RunContext,
next_node_id: Option<String>,
completed_nodes_after: Vec<String>,
) -> Self
pub fn new( step: u32, node_id: impl Into<String>, handler_type: Option<String>, context_before: RunContext, outcome: NodeOutcome, context_after: RunContext, next_node_id: Option<String>, completed_nodes_after: Vec<String>, ) -> Self
Build a step entry from RunContext and NodeOutcome (before/after context and outcome).
Trait Implementations§
Source§impl Clone for ExecutionStepEntry
impl Clone for ExecutionStepEntry
Source§fn clone(&self) -> ExecutionStepEntry
fn clone(&self) -> ExecutionStepEntry
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 ExecutionStepEntry
impl Debug for ExecutionStepEntry
Source§impl<'de> Deserialize<'de> for ExecutionStepEntry
impl<'de> Deserialize<'de> for ExecutionStepEntry
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 ExecutionStepEntry
impl RefUnwindSafe for ExecutionStepEntry
impl Send for ExecutionStepEntry
impl Sync for ExecutionStepEntry
impl Unpin for ExecutionStepEntry
impl UnwindSafe for ExecutionStepEntry
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