pub struct HistoryInfo {
pub total_readings: u16,
pub interval_seconds: u16,
pub seconds_since_update: u16,
}Expand description
Information about the device’s stored history.
Fields§
§total_readings: u16Total number of readings stored.
interval_seconds: u16Measurement interval in seconds.
seconds_since_update: u16Seconds since the last reading.
Trait Implementations§
Source§impl Clone for HistoryInfo
impl Clone for HistoryInfo
Source§fn clone(&self) -> HistoryInfo
fn clone(&self) -> HistoryInfo
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 HistoryInfo
impl RefUnwindSafe for HistoryInfo
impl Send for HistoryInfo
impl Sync for HistoryInfo
impl Unpin for HistoryInfo
impl UnwindSafe for HistoryInfo
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