pub struct ExecutionStep {
pub id: u32,
pub node_id: u32,
pub context: Value,
pub result: Option<Value>,
pub error: Option<String>,
pub iteration_index: Option<u32>,
pub iteration_total: Option<u32>,
}Expand description
Captures state at each evaluation step.
Fields§
§id: u32Sequential step number
node_id: u32ID of the node being evaluated
context: ValueCurrent context/scope data at this step
result: Option<Value>Result after evaluating this node (None if error)
error: Option<String>Error message if evaluation failed (None if success)
iteration_index: Option<u32>Current iteration index (only for iterator body evaluations)
iteration_total: Option<u32>Total iteration count (only for iterator body evaluations)
Trait Implementations§
Source§impl Clone for ExecutionStep
impl Clone for ExecutionStep
Source§fn clone(&self) -> ExecutionStep
fn clone(&self) -> ExecutionStep
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 ExecutionStep
impl Debug for ExecutionStep
Source§impl<'de> Deserialize<'de> for ExecutionStep
impl<'de> Deserialize<'de> for ExecutionStep
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 ExecutionStep
impl RefUnwindSafe for ExecutionStep
impl Send for ExecutionStep
impl Sync for ExecutionStep
impl Unpin for ExecutionStep
impl UnwindSafe for ExecutionStep
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