pub struct CollectionInfo {
pub id: CollectionId,
pub name: String,
pub created_at: u64,
pub compression: CompressionProfile,
pub doc_count: u64,
pub dictionary_entries: usize,
}Expand description
Snapshot of collection metadata and current storage counters.
Fields§
§id: CollectionIdCollection ID.
name: StringCollection name.
created_at: u64Creation timestamp (seconds since UNIX epoch).
compression: CompressionProfileCompression profile.
doc_count: u64Number of documents currently stored in this engine.
dictionary_entries: usizeNumber of entries in the collection dictionary.
Trait Implementations§
Source§impl Clone for CollectionInfo
impl Clone for CollectionInfo
Source§fn clone(&self) -> CollectionInfo
fn clone(&self) -> CollectionInfo
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 CollectionInfo
impl Debug for CollectionInfo
Source§impl PartialEq for CollectionInfo
impl PartialEq for CollectionInfo
impl Eq 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