Struct windows::Win32::System::Power::ADMINISTRATOR_POWER_POLICY
#[repr(C)]pub struct ADMINISTRATOR_POWER_POLICY {
pub MinSleep: SYSTEM_POWER_STATE,
pub MaxSleep: SYSTEM_POWER_STATE,
pub MinVideoTimeout: u32,
pub MaxVideoTimeout: u32,
pub MinSpindownTimeout: u32,
pub MaxSpindownTimeout: u32,
}
Fields§
§MinSleep: SYSTEM_POWER_STATE
§MaxSleep: SYSTEM_POWER_STATE
§MinVideoTimeout: u32
§MaxVideoTimeout: u32
§MinSpindownTimeout: u32
§MaxSpindownTimeout: u32
Trait Implementations§
§impl Clone for ADMINISTRATOR_POWER_POLICY
impl Clone for ADMINISTRATOR_POWER_POLICY
§fn clone(&self) -> ADMINISTRATOR_POWER_POLICY
fn clone(&self) -> ADMINISTRATOR_POWER_POLICY
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ADMINISTRATOR_POWER_POLICY
impl Debug for ADMINISTRATOR_POWER_POLICY
§impl Default for ADMINISTRATOR_POWER_POLICY
impl Default for ADMINISTRATOR_POWER_POLICY
§impl PartialEq for ADMINISTRATOR_POWER_POLICY
impl PartialEq for ADMINISTRATOR_POWER_POLICY
§fn eq(&self, other: &ADMINISTRATOR_POWER_POLICY) -> bool
fn eq(&self, other: &ADMINISTRATOR_POWER_POLICY) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ADMINISTRATOR_POWER_POLICY
impl Eq for ADMINISTRATOR_POWER_POLICY
impl StructuralPartialEq for ADMINISTRATOR_POWER_POLICY
Auto Trait Implementations§
impl Freeze for ADMINISTRATOR_POWER_POLICY
impl RefUnwindSafe for ADMINISTRATOR_POWER_POLICY
impl Send for ADMINISTRATOR_POWER_POLICY
impl Sync for ADMINISTRATOR_POWER_POLICY
impl Unpin for ADMINISTRATOR_POWER_POLICY
impl UnwindSafe for ADMINISTRATOR_POWER_POLICY
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)