pub struct StorageInfo {
pub collection_id: CollectionId,
pub collection_name: String,
pub doc_count: usize,
pub total_packed_bytes: usize,
pub min_doc_bytes: usize,
pub max_doc_bytes: usize,
pub avg_doc_bytes: usize,
}Expand description
Snapshot of collection storage footprint.
Fields§
§collection_id: CollectionIdCollection ID.
collection_name: StringCollection name.
doc_count: usizeNumber of documents stored.
total_packed_bytes: usizeTotal packed bytes across all stored documents.
min_doc_bytes: usizeSmallest packed document size in bytes.
max_doc_bytes: usizeLargest packed document size in bytes.
avg_doc_bytes: usizeAverage packed document size in bytes.
Trait Implementations§
Source§impl Clone for StorageInfo
impl Clone for StorageInfo
Source§fn clone(&self) -> StorageInfo
fn clone(&self) -> StorageInfo
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 StorageInfo
impl Debug for StorageInfo
Source§impl PartialEq for StorageInfo
impl PartialEq for StorageInfo
impl Eq for StorageInfo
impl StructuralPartialEq for StorageInfo
Auto Trait Implementations§
impl Freeze for StorageInfo
impl RefUnwindSafe for StorageInfo
impl Send for StorageInfo
impl Sync for StorageInfo
impl Unpin for StorageInfo
impl UnsafeUnpin for StorageInfo
impl UnwindSafe for StorageInfo
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