pub struct HeatingSystem {
pub is_active: Option<bool>,
pub target_temp_c: Option<f64>,
pub power_w: Option<f64>,
}Expand description
Heating system information.
Fields§
§is_active: Option<bool>Heating active
target_temp_c: Option<f64>Target temperature (Celsius)
power_w: Option<f64>Heating power (Watts)
Trait Implementations§
Source§impl Clone for HeatingSystem
impl Clone for HeatingSystem
Source§fn clone(&self) -> HeatingSystem
fn clone(&self) -> HeatingSystem
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 HeatingSystem
impl Debug for HeatingSystem
Source§impl Default for HeatingSystem
impl Default for HeatingSystem
Source§fn default() -> HeatingSystem
fn default() -> HeatingSystem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HeatingSystem
impl<'de> Deserialize<'de> for HeatingSystem
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 HeatingSystem
impl RefUnwindSafe for HeatingSystem
impl Send for HeatingSystem
impl Sync for HeatingSystem
impl Unpin for HeatingSystem
impl UnwindSafe for HeatingSystem
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