Struct sysutil::StorageDevice
source · pub struct StorageDevice {
pub model: String,
pub device: String,
pub size: ByteSize,
pub partitions: Vec<StoragePartition>,
}Expand description
Contains information relative to a storage device in the system
Fields§
§model: String§device: String§size: ByteSize§partitions: Vec<StoragePartition>Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for StorageDevice
impl Send for StorageDevice
impl Sync for StorageDevice
impl Unpin for StorageDevice
impl UnwindSafe for StorageDevice
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