pub struct ThresholdReading {
pub all_event_messages_disabled: bool,
pub scanning_disabled: bool,
pub reading: Option<u8>,
pub threshold_status: Option<ThresholdStatus>,
}Fields§
§all_event_messages_disabled: bool§scanning_disabled: bool§reading: Option<u8>§threshold_status: Option<ThresholdStatus>Trait Implementations§
Source§impl Clone for ThresholdReading
impl Clone for ThresholdReading
Source§fn clone(&self) -> ThresholdReading
fn clone(&self) -> ThresholdReading
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 ThresholdReading
Source§impl Debug for ThresholdReading
impl Debug for ThresholdReading
Source§impl From<&RawSensorReading> for ThresholdReading
impl From<&RawSensorReading> for ThresholdReading
Source§fn from(in_reading: &RawSensorReading) -> Self
fn from(in_reading: &RawSensorReading) -> Self
Converts to this type from the input type.
Source§impl FromSensorReading for ThresholdReading
impl FromSensorReading for ThresholdReading
Auto Trait Implementations§
impl Freeze for ThresholdReading
impl RefUnwindSafe for ThresholdReading
impl Send for ThresholdReading
impl Sync for ThresholdReading
impl Unpin for ThresholdReading
impl UnsafeUnpin for ThresholdReading
impl UnwindSafe for ThresholdReading
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