pub struct DeviceHealth {
pub ts_ms: u64,
pub uptime_ms: u64,
pub free_bytes: Option<u32>,
pub temperature_c: Option<f32>,
}Fields§
§ts_ms: u64§uptime_ms: u64§free_bytes: Option<u32>§temperature_c: Option<f32>Trait Implementations§
Source§impl Clone for DeviceHealth
impl Clone for DeviceHealth
Source§fn clone(&self) -> DeviceHealth
fn clone(&self) -> DeviceHealth
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 DeviceHealth
Source§impl Debug for DeviceHealth
impl Debug for DeviceHealth
Source§impl PartialEq for DeviceHealth
impl PartialEq for DeviceHealth
Source§fn eq(&self, other: &DeviceHealth) -> bool
fn eq(&self, other: &DeviceHealth) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceHealth
Auto Trait Implementations§
impl Freeze for DeviceHealth
impl RefUnwindSafe for DeviceHealth
impl Send for DeviceHealth
impl Sync for DeviceHealth
impl Unpin for DeviceHealth
impl UnsafeUnpin for DeviceHealth
impl UnwindSafe for DeviceHealth
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