[][src]Struct CCODE::_STORAGE_PHYSICAL_DEVICE_DATA

#[repr(C)]pub struct _STORAGE_PHYSICAL_DEVICE_DATA {
    pub DeviceId: DWORD,
    pub Role: DWORD,
    pub HealthStatus: STORAGE_COMPONENT_HEALTH_STATUS,
    pub CommandProtocol: STORAGE_PROTOCOL_TYPE,
    pub SpecVersion: STORAGE_SPEC_VERSION,
    pub FormFactor: STORAGE_DEVICE_FORM_FACTOR,
    pub Vendor: [BYTE; 8],
    pub Model: [BYTE; 40],
    pub FirmwareRevision: [BYTE; 16],
    pub Capacity: DWORDLONG,
    pub PhysicalLocation: [BYTE; 32],
    pub Reserved: [DWORD; 2],
}

Fields

DeviceId: DWORDRole: DWORDHealthStatus: STORAGE_COMPONENT_HEALTH_STATUSCommandProtocol: STORAGE_PROTOCOL_TYPESpecVersion: STORAGE_SPEC_VERSIONFormFactor: STORAGE_DEVICE_FORM_FACTORVendor: [BYTE; 8]Model: [BYTE; 40]FirmwareRevision: [BYTE; 16]Capacity: DWORDLONGPhysicalLocation: [BYTE; 32]Reserved: [DWORD; 2]

Trait Implementations

impl Clone for _STORAGE_PHYSICAL_DEVICE_DATA[src]

impl Copy for _STORAGE_PHYSICAL_DEVICE_DATA[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.