pub struct GraphRunResult<State, End = ()> {
pub result: End,
pub state: State,
pub steps: u32,
pub history: Vec<String>,
pub run_id: String,
}Expand description
Result of a graph run.
Fields§
§result: EndFinal result value.
state: StateFinal state.
steps: u32Number of steps executed.
history: Vec<String>History of node names visited.
run_id: StringRun ID.
Implementations§
Trait Implementations§
Source§impl<State: Clone, End: Clone> Clone for GraphRunResult<State, End>
impl<State: Clone, End: Clone> Clone for GraphRunResult<State, End>
Source§fn clone(&self) -> GraphRunResult<State, End>
fn clone(&self) -> GraphRunResult<State, End>
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 moreAuto Trait Implementations§
impl<State, End> Freeze for GraphRunResult<State, End>
impl<State, End> RefUnwindSafe for GraphRunResult<State, End>where
End: RefUnwindSafe,
State: RefUnwindSafe,
impl<State, End> Send for GraphRunResult<State, End>
impl<State, End> Sync for GraphRunResult<State, End>
impl<State, End> Unpin for GraphRunResult<State, End>
impl<State, End> UnwindSafe for GraphRunResult<State, End>where
End: UnwindSafe,
State: UnwindSafe,
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