pub struct IndexStats {
pub index_name: String,
pub embedding_count: usize,
pub size_bytes: u64,
pub dimensions: usize,
pub index_type: String,
pub memory_usage_bytes: u64,
pub last_optimized_at: Option<DateTime<Utc>>,
pub quality_metrics: IndexQualityMetrics,
pub performance_metrics: IndexPerformanceMetrics,
}Expand description
Index statistics
Fields§
§index_name: StringIndex name
embedding_count: usizeNumber of embeddings in index
size_bytes: u64Index size in bytes
dimensions: usizeIndex dimensions
index_type: StringIndex type/algorithm
memory_usage_bytes: u64Memory usage in bytes
last_optimized_at: Option<DateTime<Utc>>Last optimization timestamp
quality_metrics: IndexQualityMetricsIndex quality metrics
performance_metrics: IndexPerformanceMetricsPerformance metrics
Trait 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
Source§impl<'de> Deserialize<'de> for IndexStats
impl<'de> Deserialize<'de> for IndexStats
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 IndexStats
impl RefUnwindSafe for IndexStats
impl Send for IndexStats
impl Sync for IndexStats
impl Unpin 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