Struct windows_sys::Win32::System::Ioctl::STORAGE_PHYSICAL_DEVICE_DATA
[−]#[repr(C)]pub struct STORAGE_PHYSICAL_DEVICE_DATA {
pub DeviceId: u32,
pub Role: u32,
pub HealthStatus: STORAGE_COMPONENT_HEALTH_STATUS,
pub CommandProtocol: STORAGE_PROTOCOL_TYPE,
pub SpecVersion: STORAGE_SPEC_VERSION,
pub FormFactor: STORAGE_DEVICE_FORM_FACTOR,
pub Vendor: [u8; 8],
pub Model: [u8; 40],
pub FirmwareRevision: [u8; 16],
pub Capacity: u64,
pub PhysicalLocation: [u8; 32],
pub Reserved: [u32; 2],
}
Expand description
Required features: "Win32_System_Ioctl"
Fields
DeviceId: u32
Role: u32
HealthStatus: STORAGE_COMPONENT_HEALTH_STATUS
CommandProtocol: STORAGE_PROTOCOL_TYPE
SpecVersion: STORAGE_SPEC_VERSION
FormFactor: STORAGE_DEVICE_FORM_FACTOR
Vendor: [u8; 8]
Model: [u8; 40]
FirmwareRevision: [u8; 16]
Capacity: u64
PhysicalLocation: [u8; 32]
Reserved: [u32; 2]
Trait Implementations
impl Clone for STORAGE_PHYSICAL_DEVICE_DATA
impl Clone for STORAGE_PHYSICAL_DEVICE_DATA
impl Copy for STORAGE_PHYSICAL_DEVICE_DATA
Auto Trait Implementations
impl RefUnwindSafe for STORAGE_PHYSICAL_DEVICE_DATA
impl Send for STORAGE_PHYSICAL_DEVICE_DATA
impl Sync for STORAGE_PHYSICAL_DEVICE_DATA
impl Unpin for STORAGE_PHYSICAL_DEVICE_DATA
impl UnwindSafe for STORAGE_PHYSICAL_DEVICE_DATA
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more