pub struct ControlUpdate {
pub base: Option<ResourceUpdate>,
pub control_mode: Option<ControlMode>,
pub set_point: Option<Decimal>,
pub setting_min: Option<Decimal>,
pub setting_max: Option<Decimal>,
pub dead_band: Option<Decimal>,
pub control_delay_seconds: Option<Decimal>,
pub control_loop: Option<ControlLoopUpdate>,
pub location: Option<LocationUpdate>,
}Expand description
Update struct corresponding to Control
Fields§
§base: Option<ResourceUpdate>§control_mode: Option<ControlMode>§set_point: Option<Decimal>§setting_min: Option<Decimal>§setting_max: Option<Decimal>§dead_band: Option<Decimal>§control_delay_seconds: Option<Decimal>§control_loop: Option<ControlLoopUpdate>§location: Option<LocationUpdate>Implementations§
Source§impl ControlUpdate
impl ControlUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_base(self, v: ResourceUpdate) -> Self
pub fn with_control_mode(self, v: ControlMode) -> Self
pub fn with_set_point(self, v: Decimal) -> Self
pub fn with_setting_min(self, v: Decimal) -> Self
pub fn with_setting_max(self, v: Decimal) -> Self
pub fn with_dead_band(self, v: Decimal) -> Self
pub fn with_control_delay_seconds(self, v: Decimal) -> Self
pub fn with_control_loop(self, v: ControlLoopUpdate) -> Self
pub fn with_location(self, v: LocationUpdate) -> Self
Trait Implementations§
Source§impl Debug for ControlUpdate
impl Debug for ControlUpdate
Source§impl Default for ControlUpdate
impl Default for ControlUpdate
Source§fn default() -> ControlUpdate
fn default() -> ControlUpdate
Returns the “default value” for a type. Read more
Source§impl Serialize for ControlUpdate
impl Serialize for ControlUpdate
Auto Trait Implementations§
impl Freeze for ControlUpdate
impl RefUnwindSafe for ControlUpdate
impl Send for ControlUpdate
impl Sync for ControlUpdate
impl Unpin for ControlUpdate
impl UnsafeUnpin for ControlUpdate
impl UnwindSafe for ControlUpdate
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