#[repr(u8)]pub enum OperationMode {
Normal = 0,
Minimum = 1,
Maximum = 2,
Local = 3,
}Variants§
Normal = 0
The pump is controlled by a setpoint, as defined by a connected remote sensor or by the ControlMode attribute.
Minimum = 1
This value sets the pump to run at the minimum possible speed it can without being stopped.
Maximum = 2
This value sets the pump to run at its maximum possible speed.
Local = 3
This value sets the pump to run with the local settings of the pump, regardless of what these are.
Implementations§
Trait Implementations§
Source§impl Clone for OperationMode
impl Clone for OperationMode
Source§fn clone(&self) -> OperationMode
fn clone(&self) -> OperationMode
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 OperationMode
impl Debug for OperationMode
Source§impl<'de> Deserialize<'de> for OperationMode
impl<'de> Deserialize<'de> for OperationMode
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 From<OperationMode> for u8
impl From<OperationMode> for u8
Source§fn from(val: OperationMode) -> Self
fn from(val: OperationMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OperationMode
impl PartialEq for OperationMode
Source§impl Serialize for OperationMode
impl Serialize for OperationMode
impl Copy for OperationMode
impl Eq for OperationMode
impl StructuralPartialEq for OperationMode
Auto Trait Implementations§
impl Freeze for OperationMode
impl RefUnwindSafe for OperationMode
impl Send for OperationMode
impl Sync for OperationMode
impl Unpin for OperationMode
impl UnwindSafe for OperationMode
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