pub struct VectorDatabaseStats {
pub total_vectors: usize,
pub dimension: usize,
pub category_counts: HashMap<String, usize>,
pub namespace_counts: HashMap<i64, usize>,
pub tree_stats: TreeStats,
}👎Deprecated since 0.1.0:
Belongs to the deprecated VectorDatabase.
Expand description
Statistics about the vector database
Deprecated: This type belongs to the deprecated VectorDatabase.
Fields§
§total_vectors: usize👎Deprecated since 0.1.0:
Belongs to the deprecated VectorDatabase.
Total number of vectors
dimension: usize👎Deprecated since 0.1.0:
Belongs to the deprecated VectorDatabase.
Embedding dimension
category_counts: HashMap<String, usize>👎Deprecated since 0.1.0:
Belongs to the deprecated VectorDatabase.
Count by category
namespace_counts: HashMap<i64, usize>👎Deprecated since 0.1.0:
Belongs to the deprecated VectorDatabase.
Count by namespace
tree_stats: TreeStats👎Deprecated since 0.1.0:
Belongs to the deprecated VectorDatabase.
Graph tree statistics
Trait Implementations§
Source§impl Clone for VectorDatabaseStats
impl Clone for VectorDatabaseStats
Source§fn clone(&self) -> VectorDatabaseStats
fn clone(&self) -> VectorDatabaseStats
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 VectorDatabaseStats
impl Debug for VectorDatabaseStats
Source§impl<'de> Deserialize<'de> for VectorDatabaseStats
impl<'de> Deserialize<'de> for VectorDatabaseStats
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 VectorDatabaseStats
impl RefUnwindSafe for VectorDatabaseStats
impl Send for VectorDatabaseStats
impl Sync for VectorDatabaseStats
impl Unpin for VectorDatabaseStats
impl UnsafeUnpin for VectorDatabaseStats
impl UnwindSafe for VectorDatabaseStats
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