pub struct VectorStoreStats {
pub total_vectors: usize,
pub dimensions: usize,
pub memory_bytes: usize,
pub index_layers: usize,
pub namespaces: usize,
pub metric: DistanceMetric,
}Expand description
Statistics about the vector store
Fields§
§total_vectors: usizeTotal number of vectors
dimensions: usizeEmbedding dimensions
memory_bytes: usizeEstimated memory usage in bytes
index_layers: usizeNumber of HNSW index layers
namespaces: usizeNumber of distinct namespaces
metric: DistanceMetricDistance metric in use
Trait Implementations§
Source§impl Clone for VectorStoreStats
impl Clone for VectorStoreStats
Source§fn clone(&self) -> VectorStoreStats
fn clone(&self) -> VectorStoreStats
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 VectorStoreStats
impl Debug for VectorStoreStats
Auto Trait Implementations§
impl Freeze for VectorStoreStats
impl RefUnwindSafe for VectorStoreStats
impl Send for VectorStoreStats
impl Sync for VectorStoreStats
impl Unpin for VectorStoreStats
impl UnwindSafe for VectorStoreStats
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