pub struct LogicalDiskInfo {
pub root: String,
pub volume_label: Option<String>,
pub file_system: Option<String>,
pub total_bytes: u64,
pub free_bytes_available: u64,
pub total_free_bytes: u64,
}Expand description
Logical disk information.
Fields§
§root: StringDrive root path (for example: C:\).
volume_label: Option<String>Volume label when available.
file_system: Option<String>File system type when available.
total_bytes: u64Total size in bytes.
free_bytes_available: u64Free bytes available to caller.
total_free_bytes: u64Total free bytes on volume.
Trait Implementations§
Source§impl Clone for LogicalDiskInfo
impl Clone for LogicalDiskInfo
Source§fn clone(&self) -> LogicalDiskInfo
fn clone(&self) -> LogicalDiskInfo
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 LogicalDiskInfo
impl RefUnwindSafe for LogicalDiskInfo
impl Send for LogicalDiskInfo
impl Sync for LogicalDiskInfo
impl Unpin for LogicalDiskInfo
impl UnsafeUnpin for LogicalDiskInfo
impl UnwindSafe for LogicalDiskInfo
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