pub struct DatabaseStats {
pub total_points: usize,
pub total_vectors: usize,
pub language_breakdown: Vec<(String, usize)>,
}Expand description
Statistics about the vector database contents.
Fields§
§total_points: usizeTotal number of stored points.
total_vectors: usizeTotal number of vectors.
language_breakdown: Vec<(String, usize)>Breakdown of indexed chunks by programming language.
Trait Implementations§
Source§impl Clone for DatabaseStats
impl Clone for DatabaseStats
Source§fn clone(&self) -> DatabaseStats
fn clone(&self) -> DatabaseStats
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 DatabaseStats
impl Debug for DatabaseStats
Source§impl Default for DatabaseStats
impl Default for DatabaseStats
Source§fn default() -> DatabaseStats
fn default() -> DatabaseStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DatabaseStats
impl RefUnwindSafe for DatabaseStats
impl Send for DatabaseStats
impl Sync for DatabaseStats
impl Unpin for DatabaseStats
impl UnsafeUnpin for DatabaseStats
impl UnwindSafe for DatabaseStats
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