pub struct PredictorStats {
pub measurements: u64,
pub violations: u64,
pub violation_rate: f64,
pub categories: usize,
}Expand description
Observations and interval violations accumulated by a height predictor.
Fields§
§measurements: u64Total measured heights, across all categories.
violations: u64Measurements outside their pre-observation interval, excluding each category’s first observation.
violation_rate: f64Violations divided by measurements, or zero before any observation.
categories: usizeNumber of registered categories, including the default category zero.
Trait Implementations§
Source§impl Clone for PredictorStats
impl Clone for PredictorStats
impl Copy for PredictorStats
Source§impl Debug for PredictorStats
impl Debug for PredictorStats
Source§impl PartialEq for PredictorStats
impl PartialEq for PredictorStats
impl StructuralPartialEq for PredictorStats
Auto Trait Implementations§
impl Freeze for PredictorStats
impl RefUnwindSafe for PredictorStats
impl Send for PredictorStats
impl Sync for PredictorStats
impl Unpin for PredictorStats
impl UnsafeUnpin for PredictorStats
impl UnwindSafe for PredictorStats
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