pub struct DbStats {
pub size_bytes: u64,
pub record_count: u64,
pub table_count: u32,
}Expand description
Database statistics.
Fields§
§size_bytes: u64Total size of database files in bytes
record_count: u64Total number of documents across all tables
table_count: u32Number of tables in the database
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DbStats
impl<'de> Deserialize<'de> for DbStats
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 DbStats
impl RefUnwindSafe for DbStats
impl Send for DbStats
impl Sync for DbStats
impl Unpin for DbStats
impl UnsafeUnpin for DbStats
impl UnwindSafe for DbStats
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