Struct follow_heating::brain::boost_active_rooms::config::BoostActiveRoom
source · pub struct BoostActiveRoom {
device: Device,
room: String,
increase: f32,
}
Fields§
§device: Device
§room: String
§increase: f32
Implementations§
source§impl BoostActiveRoom
impl BoostActiveRoom
pub fn get_device(&self) -> &Device
pub fn get_room(&self) -> &str
pub fn get_increase(&self) -> f32
Trait Implementations§
source§impl Clone for BoostActiveRoom
impl Clone for BoostActiveRoom
source§fn clone(&self) -> BoostActiveRoom
fn clone(&self) -> BoostActiveRoom
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 BoostActiveRoom
impl Debug for BoostActiveRoom
source§impl<'de> Deserialize<'de> for BoostActiveRoom
impl<'de> Deserialize<'de> for BoostActiveRoom
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 BoostActiveRoom
impl PartialEq for BoostActiveRoom
source§fn eq(&self, other: &BoostActiveRoom) -> bool
fn eq(&self, other: &BoostActiveRoom) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BoostActiveRoom
Auto Trait Implementations§
impl RefUnwindSafe for BoostActiveRoom
impl Send for BoostActiveRoom
impl Sync for BoostActiveRoom
impl Unpin for BoostActiveRoom
impl UnwindSafe for BoostActiveRoom
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