pub struct AgentGraphTrace {
pub steps: Vec<AgentGraphStep>,
pub terminal: AgentNode,
}Expand description
A compact graph inspection report.
Fields§
§steps: Vec<AgentGraphStep>Transition steps in walk order.
terminal: AgentNodeLast node reached by the inspection.
Implementations§
Source§impl AgentGraphTrace
impl AgentGraphTrace
Sourcepub fn steps(&self) -> &[AgentGraphStep]
pub fn steps(&self) -> &[AgentGraphStep]
Return all inspected steps.
Sourcepub const fn is_complete(&self) -> bool
pub const fn is_complete(&self) -> bool
Return whether the trace reached the complete node.
Trait Implementations§
Source§impl Clone for AgentGraphTrace
impl Clone for AgentGraphTrace
Source§fn clone(&self) -> AgentGraphTrace
fn clone(&self) -> AgentGraphTrace
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 AgentGraphTrace
impl Debug for AgentGraphTrace
Source§impl<'de> Deserialize<'de> for AgentGraphTrace
impl<'de> Deserialize<'de> for AgentGraphTrace
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 AgentGraphTrace
Source§impl PartialEq for AgentGraphTrace
impl PartialEq for AgentGraphTrace
Source§fn eq(&self, other: &AgentGraphTrace) -> bool
fn eq(&self, other: &AgentGraphTrace) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentGraphTrace
impl Serialize for AgentGraphTrace
impl StructuralPartialEq for AgentGraphTrace
Auto Trait Implementations§
impl Freeze for AgentGraphTrace
impl RefUnwindSafe for AgentGraphTrace
impl Send for AgentGraphTrace
impl Sync for AgentGraphTrace
impl Unpin for AgentGraphTrace
impl UnsafeUnpin for AgentGraphTrace
impl UnwindSafe for AgentGraphTrace
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