Struct follow_heating::brain::boost_active_rooms::AppliedBoost
source · pub struct AppliedBoost {
temp_set: f32,
end_time: DateTime<Utc>,
}
Fields§
§temp_set: f32
§end_time: DateTime<Utc>
Implementations§
source§impl AppliedBoost
impl AppliedBoost
const ACCEPTABLE_DIFFERENCE: f32 = 0.100000001f32
sourcepub fn matches_wiser(&self, room: &WiserRoomData) -> bool
pub fn matches_wiser(&self, room: &WiserRoomData) -> bool
Check that this applied boost is the same as the one currently observed on wiser. Done by checking end times.
Trait Implementations§
source§impl Debug for AppliedBoost
impl Debug for AppliedBoost
Auto Trait Implementations§
impl RefUnwindSafe for AppliedBoost
impl Send for AppliedBoost
impl Sync for AppliedBoost
impl Unpin for AppliedBoost
impl UnwindSafe for AppliedBoost
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