#[repr(C)]
pub struct STORAGE_DEVICE_DESCRIPTOR {
Show 13 fields pub Version: u32, pub Size: u32, pub DeviceType: u8, pub DeviceTypeModifier: u8, pub RemovableMedia: BOOLEAN, pub CommandQueueing: BOOLEAN, pub VendorIdOffset: u32, pub ProductIdOffset: u32, pub ProductRevisionOffset: u32, pub SerialNumberOffset: u32, pub BusType: STORAGE_BUS_TYPE, pub RawPropertiesLength: u32, pub RawDeviceProperties: [u8; 1],
}
Expand description

Required features: "Win32_System_Ioctl", "Win32_Foundation", "Win32_Storage_FileSystem"

Fields

Version: u32Size: u32DeviceType: u8DeviceTypeModifier: u8RemovableMedia: BOOLEANCommandQueueing: BOOLEANVendorIdOffset: u32ProductIdOffset: u32ProductRevisionOffset: u32SerialNumberOffset: u32BusType: STORAGE_BUS_TYPERawPropertiesLength: u32RawDeviceProperties: [u8; 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.