pub struct CollectionStats {
pub name: String,
pub document_count: usize,
pub dimensions: usize,
pub index_size_bytes: Option<u64>,
pub distance_metric: String,
}Expand description
Statistics about a vector collection.
Fields§
§name: StringName of the collection.
document_count: usizeNumber of documents/vectors in the collection.
dimensions: usizeDimensionality of vectors in the collection.
index_size_bytes: Option<u64>Size of the index in bytes (if available).
distance_metric: StringDistance metric used (e.g., “cosine”, “euclidean”).
Trait Implementations§
Source§impl Clone for CollectionStats
impl Clone for CollectionStats
Source§fn clone(&self) -> CollectionStats
fn clone(&self) -> CollectionStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CollectionStats
impl Debug for CollectionStats
Source§impl<'de> Deserialize<'de> for CollectionStats
impl<'de> Deserialize<'de> for CollectionStats
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 CollectionStats
impl RefUnwindSafe for CollectionStats
impl Send for CollectionStats
impl Sync for CollectionStats
impl Unpin for CollectionStats
impl UnsafeUnpin for CollectionStats
impl UnwindSafe for CollectionStats
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