Struct winapi::um::winbase::SYSTEM_POWER_STATUS   
source · #[repr(C)]pub struct SYSTEM_POWER_STATUS {
    pub ACLineStatus: BYTE,
    pub BatteryFlag: BYTE,
    pub BatteryLifePercent: BYTE,
    pub Reserved1: BYTE,
    pub BatteryLifeTime: DWORD,
    pub BatteryFullLifeTime: DWORD,
}Fields§
§ACLineStatus: BYTE§BatteryFlag: BYTE§BatteryLifePercent: BYTE§Reserved1: BYTE§BatteryLifeTime: DWORD§BatteryFullLifeTime: DWORDTrait Implementations§
source§impl Clone for SYSTEM_POWER_STATUS
 
impl Clone for SYSTEM_POWER_STATUS
source§fn clone(&self) -> SYSTEM_POWER_STATUS
 
fn clone(&self) -> SYSTEM_POWER_STATUS
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 moresource§impl Default for SYSTEM_POWER_STATUS
 
impl Default for SYSTEM_POWER_STATUS
source§fn default() -> SYSTEM_POWER_STATUS
 
fn default() -> SYSTEM_POWER_STATUS
Returns the “default value” for a type. Read more