pub struct DiskInfo {
pub disk_type: DiskType,
pub entity_id: String,
pub total_bytes: u64,
pub used_bytes: u64,
pub available_bytes: u64,
pub file_count: u64,
}Expand description
Information about a virtual disk.
Fields§
§disk_type: DiskTypeType of the disk.
entity_id: StringEntity that owns this disk.
total_bytes: u64Total storage capacity in bytes.
used_bytes: u64Storage used in bytes.
available_bytes: u64Available storage in bytes.
file_count: u64Number of files stored.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DiskInfo
impl<'de> Deserialize<'de> for DiskInfo
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 DiskInfo
impl StructuralPartialEq for DiskInfo
Auto Trait Implementations§
impl Freeze for DiskInfo
impl RefUnwindSafe for DiskInfo
impl Send for DiskInfo
impl Sync for DiskInfo
impl Unpin for DiskInfo
impl UnsafeUnpin for DiskInfo
impl UnwindSafe for DiskInfo
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