pub struct ImageInfo {Show 14 fields
pub format: String,
pub filename: String,
pub full_backing_filename: Option<String>,
pub encrypted: Option<bool>,
pub snapshots: Option<Vec<SnapshotInfo>>,
pub backing_filename_format: Option<String>,
pub cluster_size: Option<i32>,
pub backing_image: Option<Box<ImageInfo>>,
pub format_specific: Option<ImageInfoSpecific>,
pub compressed: Option<bool>,
pub dirty_flag: Option<bool>,
pub virtual_size: i32,
pub backing_filename: Option<String>,
pub actual_size: Option<i32>,
}Fields
format: Stringfilename: Stringfull_backing_filename: Option<String>encrypted: Option<bool>snapshots: Option<Vec<SnapshotInfo>>backing_filename_format: Option<String>cluster_size: Option<i32>backing_image: Option<Box<ImageInfo>>format_specific: Option<ImageInfoSpecific>compressed: Option<bool>dirty_flag: Option<bool>virtual_size: i32backing_filename: Option<String>actual_size: Option<i32>Trait Implementations
sourceimpl<'de> Deserialize<'de> for ImageInfo
impl<'de> Deserialize<'de> for ImageInfo
sourcefn 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 RefUnwindSafe for ImageInfo
impl Send for ImageInfo
impl Sync for ImageInfo
impl Unpin for ImageInfo
impl UnwindSafe for ImageInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more