pub struct ImmersionHeaterModelConfig {
parts: Vec<ImmersionHeaterModelPart>,
}
Fields§
§parts: Vec<ImmersionHeaterModelPart>
Implementations§
source§impl ImmersionHeaterModelConfig
impl ImmersionHeaterModelConfig
pub fn combine(&mut self, other: Self)
pub fn should_be_on( &self, temps: &impl PossibleTemperatureContainer, time: NaiveTime ) -> Option<(Sensor, f32)>
Trait Implementations§
source§impl Clone for ImmersionHeaterModelConfig
impl Clone for ImmersionHeaterModelConfig
source§fn clone(&self) -> ImmersionHeaterModelConfig
fn clone(&self) -> ImmersionHeaterModelConfig
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 ImmersionHeaterModelConfig
impl Debug for ImmersionHeaterModelConfig
source§impl Default for ImmersionHeaterModelConfig
impl Default for ImmersionHeaterModelConfig
source§fn default() -> ImmersionHeaterModelConfig
fn default() -> ImmersionHeaterModelConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ImmersionHeaterModelConfig
impl<'de> Deserialize<'de> for ImmersionHeaterModelConfig
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 ImmersionHeaterModelConfig
impl PartialEq for ImmersionHeaterModelConfig
source§fn eq(&self, other: &ImmersionHeaterModelConfig) -> bool
fn eq(&self, other: &ImmersionHeaterModelConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImmersionHeaterModelConfig
Auto Trait Implementations§
impl RefUnwindSafe for ImmersionHeaterModelConfig
impl Send for ImmersionHeaterModelConfig
impl Sync for ImmersionHeaterModelConfig
impl Unpin for ImmersionHeaterModelConfig
impl UnwindSafe for ImmersionHeaterModelConfig
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