pub struct AgentStats {
pub agent_id: String,
pub total_executions: u64,
pub successful_executions: u64,
pub failed_executions: u64,
pub total_findings: u64,
pub avg_execution_time_ms: f64,
pub min_execution_time_ms: u64,
pub max_execution_time_ms: u64,
}Expand description
Statistics for an agent
Fields§
§agent_id: StringAgent ID
total_executions: u64Total executions
successful_executions: u64Successful executions
failed_executions: u64Failed executions
total_findings: u64Total findings
avg_execution_time_ms: f64Average execution time in milliseconds
min_execution_time_ms: u64Minimum execution time in milliseconds
max_execution_time_ms: u64Maximum execution time in milliseconds
Trait Implementations§
Source§impl Clone for AgentStats
impl Clone for AgentStats
Source§fn clone(&self) -> AgentStats
fn clone(&self) -> AgentStats
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 Freeze for AgentStats
impl RefUnwindSafe for AgentStats
impl Send for AgentStats
impl Sync for AgentStats
impl Unpin for AgentStats
impl UnwindSafe for AgentStats
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