pub struct DbStats {
pub collections: i64,
pub vectors: i64,
pub nodes: i64,
pub edges: i64,
pub conversations: i64,
pub messages: i64,
pub workflows: i64,
pub workflow_steps: i64,
pub traces: i64,
}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.
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