pub struct AgentIterResult {
pub result: AgentResult,
pub iterations: AgentIterationTrace,
pub events: Vec<AgentStreamRecord>,
}Expand description
Result returned by collection-based iteration inspection runs.
Fields§
§result: AgentResultFinal agent result.
iterations: AgentIterationTraceCompact iteration trace.
events: Vec<AgentStreamRecord>Source stream records used to build the trace.
Implementations§
Source§impl AgentIterResult
impl AgentIterResult
Sourcepub const fn result(&self) -> &AgentResult
pub const fn result(&self) -> &AgentResult
Return the final agent result.
Sourcepub const fn iterations(&self) -> &AgentIterationTrace
pub const fn iterations(&self) -> &AgentIterationTrace
Return the iteration trace.
Sourcepub fn events(&self) -> &[AgentStreamRecord]
pub fn events(&self) -> &[AgentStreamRecord]
Return the source stream records.
Trait Implementations§
Source§impl Clone for AgentIterResult
impl Clone for AgentIterResult
Source§fn clone(&self) -> AgentIterResult
fn clone(&self) -> AgentIterResult
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 AgentIterResult
impl Debug for AgentIterResult
Source§impl<'de> Deserialize<'de> for AgentIterResult
impl<'de> Deserialize<'de> for AgentIterResult
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 AgentIterResult
Source§impl PartialEq for AgentIterResult
impl PartialEq for AgentIterResult
Source§fn eq(&self, other: &AgentIterResult) -> bool
fn eq(&self, other: &AgentIterResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentIterResult
impl Serialize for AgentIterResult
impl StructuralPartialEq for AgentIterResult
Auto Trait Implementations§
impl Freeze for AgentIterResult
impl RefUnwindSafe for AgentIterResult
impl Send for AgentIterResult
impl Sync for AgentIterResult
impl Unpin for AgentIterResult
impl UnsafeUnpin for AgentIterResult
impl UnwindSafe for AgentIterResult
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