pub struct DbStats {
pub collection_count: usize,
pub record_count: usize,
}Expand description
A struct to hold database statistics.
Fields§
§collection_count: usize§record_count: usizeTrait 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
impl StructuralPartialEq for DbStats
Auto Trait Implementations§
impl Freeze for DbStats
impl RefUnwindSafe for DbStats
impl Send for DbStats
impl Sync for DbStats
impl Unpin 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