pub struct ParityFixtureRow {
pub timestamp: i64,
pub expected: f64,
pub tolerance: Option<f64>,
}Expand description
One expected reference row: timestamp, expected value, and an optional per-row tolerance
overriding ParityFixture::default_tolerance. expected.is_nan() marks an explicitly
missing/skip row (a bar with no confirmed reference value, e.g. inside its own warmup).
Fields§
§timestamp: i64§expected: f64§tolerance: Option<f64>Trait Implementations§
Source§impl Clone for ParityFixtureRow
impl Clone for ParityFixtureRow
Source§fn clone(&self) -> ParityFixtureRow
fn clone(&self) -> ParityFixtureRow
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 moreimpl Copy for ParityFixtureRow
Source§impl Debug for ParityFixtureRow
impl Debug for ParityFixtureRow
Source§impl PartialEq for ParityFixtureRow
impl PartialEq for ParityFixtureRow
impl StructuralPartialEq for ParityFixtureRow
Auto Trait Implementations§
impl Freeze for ParityFixtureRow
impl RefUnwindSafe for ParityFixtureRow
impl Send for ParityFixtureRow
impl Sync for ParityFixtureRow
impl Unpin for ParityFixtureRow
impl UnsafeUnpin for ParityFixtureRow
impl UnwindSafe for ParityFixtureRow
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