Struct endbasic_std::storage::DiskSpace
source · 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§
source§impl PartialEq for DiskSpace
impl PartialEq for DiskSpace
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)