pub struct PhysicalDiskInfo {
pub path: String,
pub size_bytes: u64,
}Expand description
Physical disk information.
Fields§
§path: StringPhysical disk path (for example: \.\PhysicalDrive0).
size_bytes: u64Disk size in bytes when available.
Trait Implementations§
Source§impl Clone for PhysicalDiskInfo
impl Clone for PhysicalDiskInfo
Source§fn clone(&self) -> PhysicalDiskInfo
fn clone(&self) -> PhysicalDiskInfo
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PhysicalDiskInfo
impl RefUnwindSafe for PhysicalDiskInfo
impl Send for PhysicalDiskInfo
impl Sync for PhysicalDiskInfo
impl Unpin for PhysicalDiskInfo
impl UnsafeUnpin for PhysicalDiskInfo
impl UnwindSafe for PhysicalDiskInfo
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