#[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: [CHAR; 1],
}
Expand description

Required features: ‘Win32_System_Ioctl’, ‘Win32_Foundation’

Fields

Version: u32Size: u32DeviceGuid: GUIDUnsafeShutdownCount: u32PersistentMemorySizeInBytes: u64VolatileMemorySizeInBytes: u64TotalMemorySizeInBytes: u64SlotNumber: u32DeviceHandle: u32PhysicalId: u16NumberOfFormatInterfaceCodes: u8FormatInterfaceCodes: [u16; 8]VendorId: u32ProductId: u32SubsystemDeviceId: u32SubsystemVendorId: u32ManufacturingLocation: u8ManufacturingWeek: u8ManufacturingYear: u8SerialNumber4Byte: u32SerialNumberLengthInChars: u32SerialNumber: [CHAR; 1]

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.