Struct windows::Win32::System::Ioctl::SCM_PD_DEVICE_INFO
#[repr(C)]pub struct SCM_PD_DEVICE_INFO {Show 22 fields
pub Version: u32,
pub Size: u32,
pub DeviceGuid: GUID,
pub UnsafeShutdownCount: u32,
pub PersistentMemorySizeInBytes: u64,
pub VolatileMemorySizeInBytes: u64,
pub TotalMemorySizeInBytes: u64,
pub SlotNumber: u32,
pub DeviceHandle: u32,
pub PhysicalId: u16,
pub NumberOfFormatInterfaceCodes: u8,
pub FormatInterfaceCodes: [u16; 8],
pub VendorId: u32,
pub ProductId: u32,
pub SubsystemDeviceId: u32,
pub SubsystemVendorId: u32,
pub ManufacturingLocation: u8,
pub ManufacturingWeek: u8,
pub ManufacturingYear: u8,
pub SerialNumber4Byte: u32,
pub SerialNumberLengthInChars: u32,
pub SerialNumber: [i8; 1],
}
Fields§
§Version: u32
§Size: u32
§DeviceGuid: GUID
§UnsafeShutdownCount: u32
§PersistentMemorySizeInBytes: u64
§VolatileMemorySizeInBytes: u64
§TotalMemorySizeInBytes: u64
§SlotNumber: u32
§DeviceHandle: u32
§PhysicalId: u16
§NumberOfFormatInterfaceCodes: u8
§FormatInterfaceCodes: [u16; 8]
§VendorId: u32
§ProductId: u32
§SubsystemDeviceId: u32
§SubsystemVendorId: u32
§ManufacturingLocation: u8
§ManufacturingWeek: u8
§ManufacturingYear: u8
§SerialNumber4Byte: u32
§SerialNumberLengthInChars: u32
§SerialNumber: [i8; 1]
Trait Implementations§
§impl Clone for SCM_PD_DEVICE_INFO
impl Clone for SCM_PD_DEVICE_INFO
§fn clone(&self) -> SCM_PD_DEVICE_INFO
fn clone(&self) -> SCM_PD_DEVICE_INFO
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 SCM_PD_DEVICE_INFO
impl Debug for SCM_PD_DEVICE_INFO
§impl Default for SCM_PD_DEVICE_INFO
impl Default for SCM_PD_DEVICE_INFO
§impl PartialEq for SCM_PD_DEVICE_INFO
impl PartialEq for SCM_PD_DEVICE_INFO
§fn eq(&self, other: &SCM_PD_DEVICE_INFO) -> bool
fn eq(&self, other: &SCM_PD_DEVICE_INFO) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SCM_PD_DEVICE_INFO
impl Eq for SCM_PD_DEVICE_INFO
impl StructuralPartialEq for SCM_PD_DEVICE_INFO
Auto Trait Implementations§
impl Freeze for SCM_PD_DEVICE_INFO
impl RefUnwindSafe for SCM_PD_DEVICE_INFO
impl Send for SCM_PD_DEVICE_INFO
impl Sync for SCM_PD_DEVICE_INFO
impl Unpin for SCM_PD_DEVICE_INFO
impl UnwindSafe for SCM_PD_DEVICE_INFO
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
)