pub struct IdlePowerSaverUpdate {
pub enabled: Option<Boolean>,
pub enter_utilization_percent: Option<Decimal>,
pub enter_dwell_time_seconds: Option<Int64>,
pub exit_utilization_percent: Option<Decimal>,
pub exit_dwell_time_seconds: Option<Int64>,
}Expand description
Update struct corresponding to IdlePowerSaver
Fields§
§enabled: Option<Boolean>§enter_utilization_percent: Option<Decimal>§enter_dwell_time_seconds: Option<Int64>§exit_utilization_percent: Option<Decimal>§exit_dwell_time_seconds: Option<Int64>Implementations§
Source§impl IdlePowerSaverUpdate
impl IdlePowerSaverUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_enabled(self, v: Boolean) -> Self
pub fn with_enter_utilization_percent(self, v: Decimal) -> Self
pub fn with_enter_dwell_time_seconds(self, v: Int64) -> Self
pub fn with_exit_utilization_percent(self, v: Decimal) -> Self
pub fn with_exit_dwell_time_seconds(self, v: Int64) -> Self
Trait Implementations§
Source§impl Debug for IdlePowerSaverUpdate
impl Debug for IdlePowerSaverUpdate
Source§impl Default for IdlePowerSaverUpdate
impl Default for IdlePowerSaverUpdate
Source§fn default() -> IdlePowerSaverUpdate
fn default() -> IdlePowerSaverUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IdlePowerSaverUpdate
impl RefUnwindSafe for IdlePowerSaverUpdate
impl Send for IdlePowerSaverUpdate
impl Sync for IdlePowerSaverUpdate
impl Unpin for IdlePowerSaverUpdate
impl UnsafeUnpin for IdlePowerSaverUpdate
impl UnwindSafe for IdlePowerSaverUpdate
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