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],
}
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
§fn clone(&self) -> STORAGE_PHYSICAL_DEVICE_DATA
fn clone(&self) -> STORAGE_PHYSICAL_DEVICE_DATA
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 moreimpl Copy for STORAGE_PHYSICAL_DEVICE_DATA
Auto Trait Implementations§
impl Freeze for STORAGE_PHYSICAL_DEVICE_DATA
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§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)