pub struct WriteBudgetReport {
pub today_bytes: u64,
pub yesterday_bytes: Option<u64>,
pub avg_30d_bytes: u64,
pub days_tracked: u32,
pub busiest_day: Option<(String, u64)>,
pub lmdb_bytes: u64,
pub tantivy_bytes: u64,
}Expand description
The operational summary wm doctor and /status render.
Fields§
§today_bytes: u64Bytes attributed today (UTC) so far.
yesterday_bytes: Option<u64>Bytes attributed yesterday, for “more than usual?” comparison.
avg_30d_bytes: u64Mean daily bytes over the available history (≤ 30 days).
days_tracked: u32Days of history currently in the ledger.
busiest_day: Option<(String, u64)>Busiest day in the ledger: (date, bytes).
lmdb_bytes: u64Current LMDB high-water size (bytes).
tantivy_bytes: u64Current Tantivy index size (bytes).
Trait Implementations§
Source§impl Clone for WriteBudgetReport
impl Clone for WriteBudgetReport
Source§fn clone(&self) -> WriteBudgetReport
fn clone(&self) -> WriteBudgetReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WriteBudgetReport
impl Debug for WriteBudgetReport
Source§impl<'de> Deserialize<'de> for WriteBudgetReport
impl<'de> Deserialize<'de> for WriteBudgetReport
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 WriteBudgetReport
impl RefUnwindSafe for WriteBudgetReport
impl Send for WriteBudgetReport
impl Sync for WriteBudgetReport
impl Unpin for WriteBudgetReport
impl UnsafeUnpin for WriteBudgetReport
impl UnwindSafe for WriteBudgetReport
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