pub struct Totals {
pub afp: f64,
pub requests: u64,
pub input: u64,
pub output: u64,
pub cache_read: u64,
pub cache_write: u64,
pub oldest_ms: Option<i64>,
}Fields§
§afp: f64AFP — the plan’s own currency. Never dollars, and never the store’s
cost: opencode records no AFP at all.
requests: u64§input: u64§output: u64§cache_read: u64§cache_write: u64§oldest_ms: Option<i64>The earliest row folded in — what a rolling window’s next reset derives
from (oldest request + window length). Never a fabricated now + length.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Totals
impl RefUnwindSafe for Totals
impl Send for Totals
impl Sync for Totals
impl Unpin for Totals
impl UnsafeUnpin for Totals
impl UnwindSafe for Totals
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