Skip to main content

Check

Struct Check 

Source
pub struct Check {
Show 17 fields pub quantity: Quantity, pub flights: u64, pub unstated: u64, pub floors: u64, pub floor: Option<FloorCheck>, pub past_clip: Option<FloorTest>, pub absent: u64, pub whole_at_clip: u64, pub whole_past_clip: u64, pub withheld: BTreeMap<Reason, u64>, pub test: Test, pub probes: BTreeMap<Probe, Test>, pub by_design: BTreeMap<String, Counts>, pub by_logger: BTreeMap<String, Counts>, pub by_air: BTreeMap<AirBand, Counts>, pub mean_error: f64, pub largest_error: f64,
}
Expand description

One reading’s check on one set.

Fields§

§quantity: Quantity

The reading.

§flights: u64

Flights flown.

§unstated: u64

Read with neither an interval nor a lower end.

§floors: u64

Read as floors.

§floor: Option<FloorCheck>

The floors’ test, where any were read.

§past_clip: Option<FloorTest>

The top acceleration’s floors with their tops as flown, past the clip by as much as a design takes them: a lower end fitted near the clip must miss no more than 5% of them.

§absent: u64

None to read.

§whole_at_clip: u64

Read with no lower end on the log scaled near the clip: out of the floors’ count.

§whole_past_clip: u64

Read with no lower end on the log with its top as flown: out of the tops past the clip.

§withheld: BTreeMap<Reason, u64>

Withheld, by reason.

§test: Test

The test on the intervals as stated.

§probes: BTreeMap<Probe, Test>

The test on each probe’s intervals; each must fail.

§by_design: BTreeMap<String, Counts>

The counts by design.

§by_logger: BTreeMap<String, Counts>

The counts by logger.

§by_air: BTreeMap<AirBand, Counts>

The counts by the day’s air, in AirBand’s order.

§mean_error: f64

The mean error, reading less truth, over the readings with an interval, with its sign (the apogee’s error side, which a reading too low flatters).

§largest_error: f64

The largest error’s size, |reading − truth|, over the same readings: the scale the mean is a small difference on. Not a number if any truth isn’t one.

Implementations§

Source§

impl Check

Source

pub fn holds(&self) -> bool

Whether it comes out as it must: the test passes and every probe fails it.

Trait Implementations§

Source§

impl Clone for Check

Source§

fn clone(&self) -> Check

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Check

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Check

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for Check

Source§

fn eq(&self, other: &Check) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for Check

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for Check

Auto Trait Implementations§

§

impl Freeze for Check

§

impl RefUnwindSafe for Check

§

impl Send for Check

§

impl Sync for Check

§

impl Unpin for Check

§

impl UnsafeUnpin for Check

§

impl UnwindSafe for Check

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.