pub struct Past {
pub sessions: u32,
pub checks: u64,
pub tally: Vec<[(f64, f64); 5]>,
}Expand description
What compaction took off the session table (module doc), as the totals its readers need: those of
the dropped sessions with graded checks and their checks (Summary::checked), and their delivery
tallies as (delivered, not) per half-life of policy::HALF_LIVES (same order), each session’s
weighted by its age at the first kept session (Summary::tallies ages them on from there).
Fields§
§sessions: u32§checks: u64§tally: Vec<[(f64, f64); 5]>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Past
impl<'de> Deserialize<'de> for Past
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 Past
Auto Trait Implementations§
impl Freeze for Past
impl RefUnwindSafe for Past
impl Send for Past
impl Sync for Past
impl Unpin for Past
impl UnsafeUnpin for Past
impl UnwindSafe for Past
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