pub struct ExtendedReading {
pub reading: CurrentReading,
pub radiation_duration: Option<u64>,
}Expand description
Extended reading that includes all available sensor data.
This struct wraps CurrentReading and adds fields that don’t fit
in the base reading structure (like measurement duration).
Note: Radon, radiation rate, and radiation total are now part of
CurrentReading directly.
Fields§
§reading: CurrentReadingThe current reading with all sensor values.
radiation_duration: Option<u64>Measurement duration in seconds (Aranet Radiation only).
Trait Implementations§
Source§impl Clone for ExtendedReading
impl Clone for ExtendedReading
Source§fn clone(&self) -> ExtendedReading
fn clone(&self) -> ExtendedReading
Returns a duplicate of the value. Read more
1.0.0 · 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 ExtendedReading
impl RefUnwindSafe for ExtendedReading
impl Send for ExtendedReading
impl Sync for ExtendedReading
impl Unpin for ExtendedReading
impl UnwindSafe for ExtendedReading
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