pub struct SystemHealth {
pub status: HealthStatus,
pub temperature: TemperatureStatus,
pub power: PowerStatus,
pub warnings: Vec<String>,
}
Expand description
System health overview
Fields§
§status: HealthStatus
Overall health status
temperature: TemperatureStatus
Current temperature status
power: PowerStatus
Power consumption level
warnings: Vec<String>
Any warnings or recommendations
Trait Implementations§
Source§impl Clone for SystemHealth
impl Clone for SystemHealth
Source§fn clone(&self) -> SystemHealth
fn clone(&self) -> SystemHealth
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 SystemHealth
impl Debug for SystemHealth
Source§impl<'de> Deserialize<'de> for SystemHealth
impl<'de> Deserialize<'de> for SystemHealth
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
Auto Trait Implementations§
impl Freeze for SystemHealth
impl RefUnwindSafe for SystemHealth
impl Send for SystemHealth
impl Sync for SystemHealth
impl Unpin for SystemHealth
impl UnwindSafe for SystemHealth
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