pub struct StorageUsage {
pub used_bytes: u64,
pub available_bytes: u64,
pub total_bytes: u64,
pub used_percent: u8,
pub used_label: String,
pub available_label: String,
pub total_label: String,
}Fields§
§used_bytes: u64§available_bytes: u64§total_bytes: u64§used_percent: u8§used_label: String§available_label: String§total_label: StringTrait Implementations§
Source§impl Clone for StorageUsage
impl Clone for StorageUsage
Source§fn clone(&self) -> StorageUsage
fn clone(&self) -> StorageUsage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StorageUsage
impl Debug for StorageUsage
Source§impl PartialEq for StorageUsage
impl PartialEq for StorageUsage
Source§fn eq(&self, other: &StorageUsage) -> bool
fn eq(&self, other: &StorageUsage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for StorageUsage
impl StructuralPartialEq for StorageUsage
Auto Trait Implementations§
impl Freeze for StorageUsage
impl RefUnwindSafe for StorageUsage
impl Send for StorageUsage
impl Sync for StorageUsage
impl Unpin for StorageUsage
impl UnsafeUnpin for StorageUsage
impl UnwindSafe for StorageUsage
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