#[repr(C)]pub struct _SCM_PD_DEVICE_INFO {Show 22 fields
pub Version: DWORD,
pub Size: DWORD,
pub DeviceGuid: GUID,
pub UnsafeShutdownCount: DWORD,
pub PersistentMemorySizeInBytes: DWORD64,
pub VolatileMemorySizeInBytes: DWORD64,
pub TotalMemorySizeInBytes: DWORD64,
pub SlotNumber: DWORD,
pub DeviceHandle: DWORD,
pub PhysicalId: WORD,
pub NumberOfFormatInterfaceCodes: BYTE,
pub FormatInterfaceCodes: [WORD; 8],
pub VendorId: DWORD,
pub ProductId: DWORD,
pub SubsystemDeviceId: DWORD,
pub SubsystemVendorId: DWORD,
pub ManufacturingLocation: BYTE,
pub ManufacturingWeek: BYTE,
pub ManufacturingYear: BYTE,
pub SerialNumber4Byte: DWORD,
pub SerialNumberLengthInChars: DWORD,
pub SerialNumber: [CHAR; 1],
}
Fields§
§Version: DWORD
§Size: DWORD
§DeviceGuid: GUID
§UnsafeShutdownCount: DWORD
§PersistentMemorySizeInBytes: DWORD64
§VolatileMemorySizeInBytes: DWORD64
§TotalMemorySizeInBytes: DWORD64
§SlotNumber: DWORD
§DeviceHandle: DWORD
§PhysicalId: WORD
§NumberOfFormatInterfaceCodes: BYTE
§FormatInterfaceCodes: [WORD; 8]
§VendorId: DWORD
§ProductId: DWORD
§SubsystemDeviceId: DWORD
§SubsystemVendorId: DWORD
§ManufacturingLocation: BYTE
§ManufacturingWeek: BYTE
§ManufacturingYear: BYTE
§SerialNumber4Byte: DWORD
§SerialNumberLengthInChars: DWORD
§SerialNumber: [CHAR; 1]
Trait Implementations§
Source§impl Clone for _SCM_PD_DEVICE_INFO
impl Clone for _SCM_PD_DEVICE_INFO
Source§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 moreSource§impl Debug for _SCM_PD_DEVICE_INFO
impl Debug for _SCM_PD_DEVICE_INFO
Source§impl Ord for _SCM_PD_DEVICE_INFO
impl Ord for _SCM_PD_DEVICE_INFO
Source§fn cmp(&self, other: &_SCM_PD_DEVICE_INFO) -> Ordering
fn cmp(&self, other: &_SCM_PD_DEVICE_INFO) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for _SCM_PD_DEVICE_INFO
impl PartialEq for _SCM_PD_DEVICE_INFO
Source§impl PartialOrd for _SCM_PD_DEVICE_INFO
impl PartialOrd for _SCM_PD_DEVICE_INFO
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