pub struct DbStats {
pub collections: i64,
pub vectors: i64,
pub nodes: i64,
pub edges: 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.
Trait Implementations§
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