pub struct SystemStatus {
pub firmware: FirmwareSystemStatus,
pub hardware: HardwareSystemStatus,
pub time: TimeSystemStatus,
}Expand description
hold information describing the current system status of the Device
Note that this struct only describes a momentary state. It does not automatically update. If you
want to get the system status at a new point in time, call Device::system_status() again.
Fields§
§firmware: FirmwareSystemStatus§hardware: HardwareSystemStatus§time: TimeSystemStatusTrait Implementations§
Source§impl Debug for SystemStatus
impl Debug for SystemStatus
Source§impl<'de> Deserialize<'de> for SystemStatus
impl<'de> Deserialize<'de> for SystemStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SystemStatus
impl PartialEq for SystemStatus
Source§impl Serialize for SystemStatus
impl Serialize for SystemStatus
impl StructuralPartialEq for SystemStatus
Auto Trait Implementations§
impl Freeze for SystemStatus
impl RefUnwindSafe for SystemStatus
impl Send for SystemStatus
impl Sync for SystemStatus
impl Unpin for SystemStatus
impl UnwindSafe for SystemStatus
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