pub struct AgentStats {
pub agent_id: String,
pub total_memories: usize,
pub memories_by_type: HashMap<String, usize>,
pub total_sessions: usize,
pub active_sessions: usize,
pub avg_importance: f32,
pub oldest_memory_at: Option<u64>,
pub newest_memory_at: Option<u64>,
}Expand description
Agent memory statistics
Fields§
§agent_id: String§total_memories: usize§memories_by_type: HashMap<String, usize>§total_sessions: usize§active_sessions: usize§avg_importance: f32§oldest_memory_at: Option<u64>§newest_memory_at: Option<u64>Trait Implementations§
Source§impl Debug for AgentStats
impl Debug for AgentStats
Auto Trait Implementations§
impl Freeze for AgentStats
impl RefUnwindSafe for AgentStats
impl Send for AgentStats
impl Sync for AgentStats
impl Unpin for AgentStats
impl UnsafeUnpin 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