pub struct StateConfig {
pub state: u32,
pub trip_points: Vec<TripPoint>,
}
Expand description
Defines the configuration for a single thermal state. Together with other StateConfig
instances, this makes up a client’s ClientConfig
.
Fields§
§state: u32
Thermal state number.
trip_points: Vec<TripPoint>
Vector of trip points that will activate this state.
Trait Implementations§
Source§impl Debug for StateConfig
impl Debug for StateConfig
Source§impl<'de> Deserialize<'de> for StateConfig
impl<'de> Deserialize<'de> for StateConfig
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 StateConfig
impl RefUnwindSafe for StateConfig
impl Send for StateConfig
impl Sync for StateConfig
impl Unpin for StateConfig
impl UnwindSafe for StateConfig
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