pub struct PowerManagementPolicy {
pub policy_enabled: Option<Option<Boolean>>,
pub max_tdp_milli_watts: Option<Option<Int64>>,
pub peak_power_budget_milli_watts: Option<Option<Int64>>,
pub average_power_budget_milli_watts: Option<Option<Int64>>,
}Expand description
Power management policy information.
This type shall contain properties that describe the power management policy for this resource.
Fields§
§policy_enabled: Option<Option<Boolean>>An indication of whether the power management policy is enabled.
This property shall indicate whether the power management policy is enabled.
max_tdp_milli_watts: Option<Option<Int64>>Maximum TDP in milliwatt units.
This property shall contain the maximum TDP in milliwatt units.
peak_power_budget_milli_watts: Option<Option<Int64>>Peak power budget, in milliwatt units.
This property shall contain the peak power budget, in milliwatt units.
average_power_budget_milli_watts: Option<Option<Int64>>Average power budget, in milliwatt units.
This property shall contain the average power budget, in milliwatt units.
Trait Implementations§
Source§impl Debug for PowerManagementPolicy
impl Debug for PowerManagementPolicy
Source§impl<'de> Deserialize<'de> for PowerManagementPolicy
impl<'de> Deserialize<'de> for PowerManagementPolicy
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
Auto Trait Implementations§
impl Freeze for PowerManagementPolicy
impl RefUnwindSafe for PowerManagementPolicy
impl Send for PowerManagementPolicy
impl Sync for PowerManagementPolicy
impl Unpin for PowerManagementPolicy
impl UnsafeUnpin for PowerManagementPolicy
impl UnwindSafe for PowerManagementPolicy
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