pub struct AgentStats {
pub id: String,
pub agent_type: AgentType,
pub training_count: u64,
pub patterns_learned: usize,
pub avg_quality: f32,
pub total_examples: usize,
}Expand description
Agent statistics
Fields§
§id: StringAgent ID
agent_type: AgentTypeAgent type
training_count: u64Number of training sessions
patterns_learned: usizePatterns learned
avg_quality: f32Average quality score
total_examples: usizeTotal examples processed
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 moreSource§impl Debug for AgentStats
impl Debug for AgentStats
Source§impl<'de> Deserialize<'de> for AgentStats
impl<'de> Deserialize<'de> for AgentStats
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
Auto 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