pub struct AgentGraphStep {
pub index: usize,
pub current: AgentNode,
pub decision: GraphDecision,
pub run_step: usize,
pub status: RunStatus,
}Expand description
One inspected graph transition.
Fields§
§index: usizeStep index within the inspected graph walk.
current: AgentNodeNode inspected for this transition.
decision: GraphDecisionTransition decision returned by the graph.
run_step: usizeCompleted runtime step from the inspected state.
status: RunStatusRuntime status from the inspected state.
Trait Implementations§
Source§impl Clone for AgentGraphStep
impl Clone for AgentGraphStep
Source§fn clone(&self) -> AgentGraphStep
fn clone(&self) -> AgentGraphStep
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 AgentGraphStep
impl Debug for AgentGraphStep
Source§impl<'de> Deserialize<'de> for AgentGraphStep
impl<'de> Deserialize<'de> for AgentGraphStep
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
impl Eq for AgentGraphStep
Source§impl PartialEq for AgentGraphStep
impl PartialEq for AgentGraphStep
Source§impl Serialize for AgentGraphStep
impl Serialize for AgentGraphStep
impl StructuralPartialEq for AgentGraphStep
Auto Trait Implementations§
impl Freeze for AgentGraphStep
impl RefUnwindSafe for AgentGraphStep
impl Send for AgentGraphStep
impl Sync for AgentGraphStep
impl Unpin for AgentGraphStep
impl UnsafeUnpin for AgentGraphStep
impl UnwindSafe for AgentGraphStep
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