pub struct Disk {
pub name: String,
pub kind: String,
pub file_system: String,
pub mount_point: PathBuf,
pub total_space: u64,
pub available_space: u64,
pub is_removable: bool,
}Fields§
§name: String§kind: String§file_system: String§mount_point: PathBuf§total_space: u64§available_space: u64§is_removable: boolTrait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Disk
impl Send for Disk
impl Sync for Disk
impl Unpin for Disk
impl UnwindSafe for Disk
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