Struct windows_sys::Win32::System::Power::BATTERY_USB_CHARGER_STATUS
[−]#[repr(C)]pub struct BATTERY_USB_CHARGER_STATUS {
pub Type: BATTERY_CHARGING_SOURCE_TYPE,
pub Reserved: u32,
pub Flags: u32,
pub MaxCurrent: u32,
pub Voltage: u32,
pub PortType: USB_CHARGER_PORT,
pub PortId: u64,
pub PowerSourceInformation: *mut c_void,
pub OemCharger: GUID,
}
Expand description
Required features: "Win32_System_Power"
Fields
Type: BATTERY_CHARGING_SOURCE_TYPE
Reserved: u32
Flags: u32
MaxCurrent: u32
Voltage: u32
PortType: USB_CHARGER_PORT
PortId: u64
PowerSourceInformation: *mut c_void
OemCharger: GUID
Trait Implementations
impl Clone for BATTERY_USB_CHARGER_STATUS
impl Clone for BATTERY_USB_CHARGER_STATUS
impl Copy for BATTERY_USB_CHARGER_STATUS
Auto Trait Implementations
impl RefUnwindSafe for BATTERY_USB_CHARGER_STATUS
impl !Send for BATTERY_USB_CHARGER_STATUS
impl !Sync for BATTERY_USB_CHARGER_STATUS
impl Unpin for BATTERY_USB_CHARGER_STATUS
impl UnwindSafe for BATTERY_USB_CHARGER_STATUS
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more