pub struct DbStats {
pub path: String,
pub size_bytes: u64,
pub event_count: usize,
pub issue_count: usize,
pub last_rebuild_ts: Option<u64>,
pub events_since_rebuild: usize,
pub days_since_rebuild: Option<u32>,
pub rebuild_recommended: bool,
}Expand description
Statistics about the database
Fields§
§path: String§size_bytes: u64§event_count: usize§issue_count: usize§last_rebuild_ts: Option<u64>§events_since_rebuild: usizeEvents inserted since last rebuild
days_since_rebuild: Option<u32>Days since last rebuild
rebuild_recommended: boolWhether rebuild is recommended based on thresholds
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