pub struct StorageStatus {
pub ready: bool,
pub total_bytes: u64,
pub used_bytes: u64,
pub layer_count: usize,
pub image_count: usize,
}Expand description
Storage status information.
Fields§
§ready: boolWhether the storage is formatted and ready.
total_bytes: u64Total size in bytes.
used_bytes: u64Used size in bytes.
layer_count: usizeNumber of cached layers.
image_count: usizeNumber of cached images.
Trait Implementations§
Source§impl Clone for StorageStatus
impl Clone for StorageStatus
Source§fn clone(&self) -> StorageStatus
fn clone(&self) -> StorageStatus
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 StorageStatus
impl Debug for StorageStatus
Source§impl<'de> Deserialize<'de> for StorageStatus
impl<'de> Deserialize<'de> for StorageStatus
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
Auto Trait Implementations§
impl Freeze for StorageStatus
impl RefUnwindSafe for StorageStatus
impl Send for StorageStatus
impl Sync for StorageStatus
impl Unpin for StorageStatus
impl UnsafeUnpin for StorageStatus
impl UnwindSafe for StorageStatus
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