Struct sysutil::StoragePartition
source · pub struct StoragePartition {
pub device: String,
pub mountPoint: String,
pub fileSystem: String,
pub size: ByteSize,
pub startPoint: usize,
}Expand description
Encloses device name, size and startpoint relative to a partition
Fields§
§device: String§mountPoint: String§fileSystem: String§size: ByteSize§startPoint: usizeTrait Implementations§
source§impl Clone for StoragePartition
impl Clone for StoragePartition
source§fn clone(&self) -> StoragePartition
fn clone(&self) -> StoragePartition
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 moreAuto Trait Implementations§
impl Freeze for StoragePartition
impl RefUnwindSafe for StoragePartition
impl Send for StoragePartition
impl Sync for StoragePartition
impl Unpin for StoragePartition
impl UnwindSafe for StoragePartition
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