pub struct BTreeStats {
pub last_inserted: u64,
pub last_deleted: u64,
pub last_saved: u64,
pub version: u64,
pub num_elements: u64,
pub query_count: u64,
pub insert_count: u64,
pub delete_count: u64,
pub max_bucket_id: u32,
}Expand description
Index statistics for monitoring and diagnostics
Fields§
§last_inserted: u64Last insertion timestamp (unix ms)
last_deleted: u64Last deletion timestamp (unix ms)
last_saved: u64Last saved timestamp (unix ms)
version: u64Updated version for the index. It will be incremented when the index is updated.
num_elements: u64Number of elements in the index
query_count: u64Number of query operations performed
insert_count: u64Number of insert operations performed
delete_count: u64Number of delete operations performed
max_bucket_id: u32Maximum bucket ID currently in use
Trait Implementations§
Source§impl Clone for BTreeStats
impl Clone for BTreeStats
Source§fn clone(&self) -> BTreeStats
fn clone(&self) -> BTreeStats
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 BTreeStats
impl Debug for BTreeStats
Source§impl Default for BTreeStats
impl Default for BTreeStats
Source§fn default() -> BTreeStats
fn default() -> BTreeStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BTreeStats
impl<'de> Deserialize<'de> for BTreeStats
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 BTreeStats
impl RefUnwindSafe for BTreeStats
impl Send for BTreeStats
impl Sync for BTreeStats
impl Unpin for BTreeStats
impl UnwindSafe for BTreeStats
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