pub struct DeviceSnapshot {
pub reading: DeviceReading,
pub samples: u64,
pub age_ns: u64,
pub read_errors: u64,
}Fields§
§reading: DeviceReading§samples: u642026-09-26: Device readings stored so far.
age_ns: u642026-09-26: How old the reading is, on the telemetry clock.
read_errors: u64Trait Implementations§
Source§impl Clone for DeviceSnapshot
impl Clone for DeviceSnapshot
Source§fn clone(&self) -> DeviceSnapshot
fn clone(&self) -> DeviceSnapshot
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 moreSource§impl Debug for DeviceSnapshot
impl Debug for DeviceSnapshot
Source§impl PartialEq for DeviceSnapshot
impl PartialEq for DeviceSnapshot
Source§impl Serialize for DeviceSnapshot
impl Serialize for DeviceSnapshot
impl StructuralPartialEq for DeviceSnapshot
Auto Trait Implementations§
impl Freeze for DeviceSnapshot
impl RefUnwindSafe for DeviceSnapshot
impl Send for DeviceSnapshot
impl Sync for DeviceSnapshot
impl Unpin for DeviceSnapshot
impl UnwindSafe for DeviceSnapshot
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