pub struct DiskInfo {
pub total_space: u64,
pub free_space: u64,
pub filesystem_type: String,
}Expand description
Disk information structure
Fields§
§total_space: u64Total disk space in bytes
free_space: u64Free disk space in bytes
filesystem_type: StringFilesystem type name (e.g., “NTFS”, “ext4”)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiskInfo
impl RefUnwindSafe for DiskInfo
impl Send for DiskInfo
impl Sync for DiskInfo
impl Unpin for DiskInfo
impl UnwindSafe for DiskInfo
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