pub struct ConservationReport {
pub delta: f64,
pub tolerance: f64,
pub passed: bool,
pub timestamp_ms: u64,
pub label: Option<String>,
}Expand description
Result of a single conservation-law check.
Fields§
§delta: f64Observed sum minus expected total.
tolerance: f64Tolerance used for the check.
passed: boolWhether the check passed.
timestamp_ms: u64Monotonic timestamp (milliseconds since some epoch; caller-defined).
label: Option<String>Optional label for the check.
Implementations§
Trait Implementations§
Source§impl Clone for ConservationReport
impl Clone for ConservationReport
Source§fn clone(&self) -> ConservationReport
fn clone(&self) -> ConservationReport
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 moreAuto Trait Implementations§
impl Freeze for ConservationReport
impl RefUnwindSafe for ConservationReport
impl Send for ConservationReport
impl Sync for ConservationReport
impl Unpin for ConservationReport
impl UnsafeUnpin for ConservationReport
impl UnwindSafe for ConservationReport
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