pub struct GraphExecutionResult {
pub name: String,
pub final_state: GraphState,
pub completed: bool,
pub terminal_node: Option<String>,
pub iterations: usize,
pub interrupt_checkpoints: Vec<String>,
}Expand description
The result of executing a StateGraph.
Fields§
§name: StringThe graph name.
final_state: GraphStateThe final state after execution.
completed: boolWhether execution completed successfully (reached a terminal node).
terminal_node: Option<String>The terminal node reached (if completed).
iterations: usizeNumber of node executions (iterations through the graph).
interrupt_checkpoints: Vec<String>Checkpoint ID at each interrupt point (for resuming).
Trait Implementations§
Source§impl Clone for GraphExecutionResult
impl Clone for GraphExecutionResult
Source§impl Debug for GraphExecutionResult
impl Debug for GraphExecutionResult
Source§impl<'de> Deserialize<'de> for GraphExecutionResult
impl<'de> Deserialize<'de> for GraphExecutionResult
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 GraphExecutionResult
impl RefUnwindSafe for GraphExecutionResult
impl Send for GraphExecutionResult
impl Sync for GraphExecutionResult
impl Unpin for GraphExecutionResult
impl UnsafeUnpin for GraphExecutionResult
impl UnwindSafe for GraphExecutionResult
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