pub struct DbStats {
pub metadata_size_bytes: u64,
pub logs_size_bytes: u64,
pub repo_count: usize,
pub log_entry_count: usize,
}Expand description
Statistics about the database storage.
Fields§
§metadata_size_bytes: u64Total size of metadata database directory in bytes.
logs_size_bytes: u64Total size of logs database directory in bytes.
repo_count: usizeNumber of registered repositories.
log_entry_count: usizeTotal number of log entries.
Trait Implementations§
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