#[repr(C)]
pub struct MACHINE_POWER_POLICY {
Show 14 fields pub Revision: u32, pub MinSleepAc: SYSTEM_POWER_STATE, pub MinSleepDc: SYSTEM_POWER_STATE, pub ReducedLatencySleepAc: SYSTEM_POWER_STATE, pub ReducedLatencySleepDc: SYSTEM_POWER_STATE, pub DozeTimeoutAc: u32, pub DozeTimeoutDc: u32, pub DozeS4TimeoutAc: u32, pub DozeS4TimeoutDc: u32, pub MinThrottleAc: u8, pub MinThrottleDc: u8, pub pad1: [u8; 2], pub OverThrottledAc: POWER_ACTION_POLICY, pub OverThrottledDc: POWER_ACTION_POLICY,
}
Expand description

Required features: "Win32_System_Power"

Fields

Revision: u32MinSleepAc: SYSTEM_POWER_STATEMinSleepDc: SYSTEM_POWER_STATEReducedLatencySleepAc: SYSTEM_POWER_STATEReducedLatencySleepDc: SYSTEM_POWER_STATEDozeTimeoutAc: u32DozeTimeoutDc: u32DozeS4TimeoutAc: u32DozeS4TimeoutDc: u32MinThrottleAc: u8MinThrottleDc: u8pad1: [u8; 2]OverThrottledAc: POWER_ACTION_POLICYOverThrottledDc: POWER_ACTION_POLICY

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.