pub struct IndexStats {
pub num_vectors: usize,
pub num_tables: usize,
pub num_hashes: usize,
pub dimension: usize,
pub total_buckets: usize,
pub avg_bucket_size: f64,
pub max_bucket_size: usize,
pub memory_estimate_bytes: usize,
}Expand description
Aggregate statistics about the index.
Fields§
§num_vectors: usize§num_tables: usize§num_hashes: usize§dimension: usize§total_buckets: usize§avg_bucket_size: f64§max_bucket_size: usize§memory_estimate_bytes: usizeTrait Implementations§
Source§impl Clone for IndexStats
impl Clone for IndexStats
Source§fn clone(&self) -> IndexStats
fn clone(&self) -> IndexStats
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 IndexStats
impl Debug for IndexStats
Auto Trait Implementations§
impl Freeze for IndexStats
impl RefUnwindSafe for IndexStats
impl Send for IndexStats
impl Sync for IndexStats
impl Unpin for IndexStats
impl UnsafeUnpin for IndexStats
impl UnwindSafe for IndexStats
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