pub struct DiskSpace {
pub bytes: u64,
pub files: u64,
}
Expand description
Representation of some amount of disk space. Can be used to express both quotas and usage.
Fields§
§bytes: u64
Number of bytes used or allowed.
files: u64
Number of files used or allowed.
Implementations§
Trait Implementations§
impl Copy for DiskSpace
impl Eq for DiskSpace
impl StructuralPartialEq for DiskSpace
Auto Trait Implementations§
impl Freeze for DiskSpace
impl RefUnwindSafe for DiskSpace
impl Send for DiskSpace
impl Sync for DiskSpace
impl Unpin for DiskSpace
impl UnwindSafe for DiskSpace
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