pub struct PowerLimitUpdate {
pub limit_in_watts: Option<Decimal>,
pub limit_exception: Option<PowerLimitException>,
pub correction_in_ms: Option<Int64>,
}Expand description
Update struct corresponding to PowerLimit
Fields§
§limit_in_watts: Option<Decimal>§limit_exception: Option<PowerLimitException>§correction_in_ms: Option<Int64>Implementations§
Source§impl PowerLimitUpdate
impl PowerLimitUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_limit_in_watts(self, v: Decimal) -> Self
pub fn with_limit_exception(self, v: PowerLimitException) -> Self
pub fn with_correction_in_ms(self, v: Int64) -> Self
Trait Implementations§
Source§impl Debug for PowerLimitUpdate
impl Debug for PowerLimitUpdate
Source§impl Default for PowerLimitUpdate
impl Default for PowerLimitUpdate
Source§fn default() -> PowerLimitUpdate
fn default() -> PowerLimitUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PowerLimitUpdate
impl RefUnwindSafe for PowerLimitUpdate
impl Send for PowerLimitUpdate
impl Sync for PowerLimitUpdate
impl Unpin for PowerLimitUpdate
impl UnsafeUnpin for PowerLimitUpdate
impl UnwindSafe for PowerLimitUpdate
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