pub struct CollectionInfo {
pub status: String,
pub points_count: u64,
pub indexed_vectors_count: Option<u64>,
pub segments_count: u64,
pub schema: CollectionSchema,
}Expand description
Transport-neutral collection metadata consumed by the executor.
Fields§
§status: StringCollection health status reported by the backend (e.g. green).
points_count: u64Number of points currently stored in the collection.
indexed_vectors_count: Option<u64>Approximate number of vectors added to a vector index (HNSW/sparse).
Not exact — Qdrant documents these counts as approximate and
indexed_vectors_count < points_count on edge means optimization (and
therefore indexing) is pending. None when the backend omits it.
segments_count: u64Number of storage segments backing the collection.
schema: CollectionSchemaVector and index schema used for USING resolution and dumps.
Trait Implementations§
Source§impl Clone for CollectionInfo
impl Clone for CollectionInfo
Source§impl Debug for CollectionInfo
impl Debug for CollectionInfo
Source§impl Default for CollectionInfo
impl Default for CollectionInfo
Source§impl<'de> Deserialize<'de> for CollectionInfo
impl<'de> Deserialize<'de> for CollectionInfo
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
Source§impl PartialEq for CollectionInfo
impl PartialEq for CollectionInfo
Source§impl Serialize for CollectionInfo
impl Serialize for CollectionInfo
impl StructuralPartialEq for CollectionInfo
Auto Trait Implementations§
impl Freeze for CollectionInfo
impl RefUnwindSafe for CollectionInfo
impl Send for CollectionInfo
impl Sync for CollectionInfo
impl Unpin for CollectionInfo
impl UnsafeUnpin for CollectionInfo
impl UnwindSafe for CollectionInfo
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