pub struct StorageSize {
pub bytes: u64,
pub files: u64,
pub complete: bool,
}Expand description
File counts and logical bytes; not an estimate of reclaimable disk space.
Fields§
§bytes: u64Sum of regular file lengths and symlink metadata lengths; targets are not followed.
files: u64Number of regular files and symlink entries.
complete: boolFalse when a limit or inaccessible entry prevented measurement, or a symlink appeared within or replaced the charged blob directory.
Trait Implementations§
Source§impl Clone for StorageSize
impl Clone for StorageSize
impl Copy for StorageSize
Source§impl Debug for StorageSize
impl Debug for StorageSize
Source§impl Default for StorageSize
impl Default for StorageSize
Source§impl<'de> Deserialize<'de> for StorageSize
impl<'de> Deserialize<'de> for StorageSize
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StorageSize
Source§impl PartialEq for StorageSize
impl PartialEq for StorageSize
Source§impl Serialize for StorageSize
impl Serialize for StorageSize
impl StructuralPartialEq for StorageSize
Auto Trait Implementations§
impl Freeze for StorageSize
impl RefUnwindSafe for StorageSize
impl Send for StorageSize
impl Sync for StorageSize
impl Unpin for StorageSize
impl UnsafeUnpin for StorageSize
impl UnwindSafe for StorageSize
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.