Struct monitor_types::SystemComponent
source · pub struct SystemComponent {
pub label: String,
pub temp: f32,
pub max: f32,
pub critical: Option<f32>,
}Fields§
§label: String§temp: f32§max: f32§critical: Option<f32>Trait Implementations§
source§impl Clone for SystemComponent
impl Clone for SystemComponent
source§fn clone(&self) -> SystemComponent
fn clone(&self) -> SystemComponent
Returns a copy 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 SystemComponent
impl Debug for SystemComponent
source§impl<'de> Deserialize<'de> for SystemComponent
impl<'de> Deserialize<'de> for SystemComponent
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