pub struct DiskStats {
pub entity_id: String,
pub disk_type: DiskType,
pub used_bytes: u64,
pub file_count: u32,
pub dir_count: u32,
pub last_modified: i64,
}Expand description
Storage statistics for a virtual disk
Fields§
§entity_id: StringEntity ID this disk belongs to
disk_type: DiskTypeType of disk
used_bytes: u64Total bytes used
file_count: u32Total number of files
dir_count: u32Total number of directories
last_modified: i64Last modification timestamp
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DiskStats
impl<'de> Deserialize<'de> for DiskStats
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 DiskStats
impl RefUnwindSafe for DiskStats
impl Send for DiskStats
impl Sync for DiskStats
impl Unpin for DiskStats
impl UnwindSafe for DiskStats
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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