Struct qapi_qmp::ImageInfoSpecificQCow2
source · [−]pub struct ImageInfoSpecificQCow2 {
pub compat: String,
pub corrupt: Option<bool>,
pub data_file_raw: Option<bool>,
pub data_file: Option<String>,
pub extended_l2: Option<bool>,
pub lazy_refcounts: Option<bool>,
pub encrypt: Option<ImageInfoSpecificQCow2Encryption>,
pub compression_type: Qcow2CompressionType,
pub refcount_bits: i32,
pub bitmaps: Option<Vec<Qcow2BitmapInfo>>,
}Fields
compat: Stringcorrupt: Option<bool>data_file_raw: Option<bool>data_file: Option<String>extended_l2: Option<bool>lazy_refcounts: Option<bool>encrypt: Option<ImageInfoSpecificQCow2Encryption>compression_type: Qcow2CompressionTyperefcount_bits: i32bitmaps: Option<Vec<Qcow2BitmapInfo>>Trait Implementations
sourceimpl AsRef<ImageInfoSpecificQCow2> for ImageInfoSpecificQCow2Wrapper
impl AsRef<ImageInfoSpecificQCow2> for ImageInfoSpecificQCow2Wrapper
sourcefn as_ref(&self) -> &ImageInfoSpecificQCow2
fn as_ref(&self) -> &ImageInfoSpecificQCow2
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for ImageInfoSpecificQCow2
impl Clone for ImageInfoSpecificQCow2
sourcefn clone(&self) -> ImageInfoSpecificQCow2
fn clone(&self) -> ImageInfoSpecificQCow2
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ImageInfoSpecificQCow2
impl Debug for ImageInfoSpecificQCow2
sourceimpl<'de> Deserialize<'de> for ImageInfoSpecificQCow2
impl<'de> Deserialize<'de> for ImageInfoSpecificQCow2
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
sourceimpl From<ImageInfoSpecificQCow2> for ImageInfoSpecific
impl From<ImageInfoSpecificQCow2> for ImageInfoSpecific
sourcefn from(val: ImageInfoSpecificQCow2) -> Self
fn from(val: ImageInfoSpecificQCow2) -> Self
Converts to this type from the input type.
sourceimpl Serialize for ImageInfoSpecificQCow2
impl Serialize for ImageInfoSpecificQCow2
Auto Trait Implementations
impl RefUnwindSafe for ImageInfoSpecificQCow2
impl Send for ImageInfoSpecificQCow2
impl Sync for ImageInfoSpecificQCow2
impl Unpin for ImageInfoSpecificQCow2
impl UnwindSafe for ImageInfoSpecificQCow2
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