Struct follow_heating::brain::python_like::config::min_hp_runtime::MinHeatPumpRuntime
source · pub struct MinHeatPumpRuntime {
duration_secs: Duration,
safety_cut_off: TargetTemperature,
}
Fields§
§duration_secs: Duration
Duration that the heat pump must stay on for, regardless of whether overruns / the wiser says it should no longer be on.
safety_cut_off: TargetTemperature
A target temperature which if reached will allow the heat pump to turn off despite any mini
Trait Implementations§
source§impl AsRef<MinHeatPumpRuntime> for PythonBrainConfig
impl AsRef<MinHeatPumpRuntime> for PythonBrainConfig
source§fn as_ref(&self) -> &MinHeatPumpRuntime
fn as_ref(&self) -> &MinHeatPumpRuntime
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for MinHeatPumpRuntime
impl Clone for MinHeatPumpRuntime
source§fn clone(&self) -> MinHeatPumpRuntime
fn clone(&self) -> MinHeatPumpRuntime
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 MinHeatPumpRuntime
impl Debug for MinHeatPumpRuntime
source§impl Default for MinHeatPumpRuntime
impl Default for MinHeatPumpRuntime
source§impl<'de> Deserialize<'de> for MinHeatPumpRuntime
impl<'de> Deserialize<'de> for MinHeatPumpRuntime
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 MinHeatPumpRuntime
impl PartialEq for MinHeatPumpRuntime
source§fn eq(&self, other: &MinHeatPumpRuntime) -> bool
fn eq(&self, other: &MinHeatPumpRuntime) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MinHeatPumpRuntime
Auto Trait Implementations§
impl RefUnwindSafe for MinHeatPumpRuntime
impl Send for MinHeatPumpRuntime
impl Sync for MinHeatPumpRuntime
impl Unpin for MinHeatPumpRuntime
impl UnwindSafe for MinHeatPumpRuntime
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