pub struct DbStats {}Expand description
Database-wide statistics returned by AgentDB::stats.
Fields§
§collections: i64Number of named vector collections.
vectors: i64Total number of vectors across all collections.
nodes: i64Number of nodes in the memory graph.
edges: i64Number of directed edges in the memory graph.
conversations: i64Number of conversation threads.
messages: i64Total number of messages across all conversations.
workflows: i64Number of workflow records.
workflow_steps: i64Total number of workflow steps across all workflows.
traces: i64Total number of reasoning trace entries.
tools: i64Number of registered tool definitions.
tool_calls: i64Total number of logged tool calls.
audit_entries: i64Total number of audit log entries.
prompt_templates: i64Total number of prompt template versions.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DbStats
impl<'de> Deserialize<'de> for DbStats
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 DbStats
impl RefUnwindSafe for DbStats
impl Send for DbStats
impl Sync for DbStats
impl Unpin for DbStats
impl UnsafeUnpin for DbStats
impl UnwindSafe for DbStats
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