pub struct StatsSnapshot {Show 29 fields
pub collection_name: String,
pub revision: u64,
pub doc_count: u64,
pub query_count: u64,
pub fts_query_count: u64,
pub fts_index_query_count: u64,
pub ann_query_count: u64,
pub diskann_query_count: u64,
pub diskann_mmap_query_count: u64,
pub diskann_sector_read_count: u64,
pub exact_query_count: u64,
pub filtered_query_count: u64,
pub scalar_index_query_count: u64,
pub radius_query_count: u64,
pub candidates_scanned: u64,
pub indexed_field_count: usize,
pub indexes: Vec<IndexStat>,
pub index_cache_hit: bool,
pub io_backend: IoBackend,
pub read_only: bool,
pub wal_active_seq: u64,
pub wal_checkpoint_seq: u64,
pub wal_ops_since_checkpoint: u64,
pub wal_bytes_since_checkpoint: u64,
pub accounted_document_bytes: u64,
pub estimated_index_bytes: u64,
pub accounted_bytes: u64,
pub resource_limits: CollectionResourceLimits,
pub resource_limit_rejections: u64,
}Fields§
§collection_name: String§revision: u64§doc_count: u64§query_count: u64§fts_query_count: u64§fts_index_query_count: u64§ann_query_count: u64§diskann_query_count: u64Successful ANN queries whose immutable Vamana/DiskANN base was traversed from the native sector sidecar instead of the in-memory graph.
diskann_mmap_query_count: u64Successful Vamana/DiskANN sidecar queries served from an immutable
mmap snapshot instead of positioned file reads.
diskann_sector_read_count: u64Native sidecar sectors staged in request-local caches by successful positioned or mmap-snapshot graph queries.
exact_query_count: u64§filtered_query_count: u64§scalar_index_query_count: u64§radius_query_count: u64§candidates_scanned: u64§indexed_field_count: usize§indexes: Vec<IndexStat>§index_cache_hit: boolWhether this handle restored its index generation from the optional
on-disk derived-index cache during Collection::open.
io_backend: IoBackendResolved sidecar backend for this collection handle.
read_only: bool§wal_active_seq: u64§wal_checkpoint_seq: u64§wal_ops_since_checkpoint: u64§wal_bytes_since_checkpoint: u64§accounted_document_bytes: u64Deterministic serialized size of the authoritative document map.
estimated_index_bytes: u64Sum of deterministic derived-index payload estimates.
accounted_bytes: u64Authoritative document accounting plus derived-index estimates.
resource_limits: CollectionResourceLimitsCollection-local limits captured when this handle was opened.
resource_limit_rejections: u64Operations rejected by this handle’s resource policy.
Trait Implementations§
Source§impl Clone for StatsSnapshot
impl Clone for StatsSnapshot
Source§impl Debug for StatsSnapshot
impl Debug for StatsSnapshot
Source§impl<'de> Deserialize<'de> for StatsSnapshot
impl<'de> Deserialize<'de> for StatsSnapshot
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>,
Source§impl PartialEq for StatsSnapshot
impl PartialEq for StatsSnapshot
Source§impl Serialize for StatsSnapshot
impl Serialize for StatsSnapshot
impl StructuralPartialEq for StatsSnapshot
Auto Trait Implementations§
impl Freeze for StatsSnapshot
impl RefUnwindSafe for StatsSnapshot
impl Send for StatsSnapshot
impl Sync for StatsSnapshot
impl Unpin for StatsSnapshot
impl UnsafeUnpin for StatsSnapshot
impl UnwindSafe for StatsSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more