pub struct SensorTally {
pub logs: u64,
pub samples: u64,
pub rejected: u64,
pub unweighed: u64,
pub resets: u64,
pub logs_rejecting: u64,
}Expand description
One sensor’s health over a set’s smoothed flights.
Fields§
§logs: u64The logs that have it.
samples: u64Its samples.
rejected: u64Those the gate rejected.
unweighed: u64Those not weighed.
resets: u64How many times it was taken back after a second of rejections.
logs_rejecting: u64The logs with at least one rejection.
Trait Implementations§
Source§impl Clone for SensorTally
impl Clone for SensorTally
Source§fn clone(&self) -> SensorTally
fn clone(&self) -> SensorTally
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 SensorTally
impl Debug for SensorTally
Source§impl Default for SensorTally
impl Default for SensorTally
Source§fn default() -> SensorTally
fn default() -> SensorTally
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SensorTally
impl<'de> Deserialize<'de> for SensorTally
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 SensorTally
impl PartialEq for SensorTally
Source§fn eq(&self, other: &SensorTally) -> bool
fn eq(&self, other: &SensorTally) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SensorTally
impl Serialize for SensorTally
impl StructuralPartialEq for SensorTally
Auto Trait Implementations§
impl Freeze for SensorTally
impl RefUnwindSafe for SensorTally
impl Send for SensorTally
impl Sync for SensorTally
impl Unpin for SensorTally
impl UnsafeUnpin for SensorTally
impl UnwindSafe for SensorTally
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