pub struct AdwinPortableStateV1 {
pub version: u32,
pub delta: f64,
pub warning_delta: f64,
pub max_window: usize,
pub min_samples: u64,
pub window: Vec<f64>,
pub total: f64,
pub samples: u64,
pub current_level: DriftLevel,
}Expand description
Versioned, portable ADWIN state.
This is the stable continuity DTO. Direct serde of Adwin remains a
Preview implementation detail.
Fields§
§version: u32Portable schema version; always 1.
delta: f64Drift significance level from the originating configuration.
warning_delta: f64Warning significance level from the originating configuration.
max_window: usizeMaximum window length from the originating configuration.
min_samples: u64Minimum samples from the originating configuration.
window: Vec<f64>Current adaptive window, oldest value first.
total: f64Incrementally maintained sum of the window.
samples: u64Total observations incorporated, including evicted observations.
current_level: DriftLevelLast reported detector level.
Trait Implementations§
Source§impl Clone for AdwinPortableStateV1
impl Clone for AdwinPortableStateV1
Source§fn clone(&self) -> AdwinPortableStateV1
fn clone(&self) -> AdwinPortableStateV1
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 AdwinPortableStateV1
impl Debug for AdwinPortableStateV1
Source§impl PartialEq for AdwinPortableStateV1
impl PartialEq for AdwinPortableStateV1
impl StructuralPartialEq for AdwinPortableStateV1
Source§impl ValidateState for AdwinPortableStateV1
impl ValidateState for AdwinPortableStateV1
Auto Trait Implementations§
impl Freeze for AdwinPortableStateV1
impl RefUnwindSafe for AdwinPortableStateV1
impl Send for AdwinPortableStateV1
impl Sync for AdwinPortableStateV1
impl Unpin for AdwinPortableStateV1
impl UnsafeUnpin for AdwinPortableStateV1
impl UnwindSafe for AdwinPortableStateV1
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