Struct qapi_qmp::BlockdevCreateOptionsQcow2
source · [−]pub struct BlockdevCreateOptionsQcow2 {Show 14 fields
pub backing_file: Option<String>,
pub backing_fmt: Option<BlockdevDriver>,
pub cluster_size: Option<u64>,
pub compression_type: Option<Qcow2CompressionType>,
pub data_file: Option<BlockdevRef>,
pub data_file_raw: Option<bool>,
pub encrypt: Option<QCryptoBlockCreateOptions>,
pub extended_l2: Option<bool>,
pub lazy_refcounts: Option<bool>,
pub preallocation: Option<PreallocMode>,
pub refcount_bits: Option<i64>,
pub version: Option<BlockdevQcow2Version>,
pub file: BlockdevRef,
pub size: u64,
}Fields
backing_file: Option<String>backing_fmt: Option<BlockdevDriver>cluster_size: Option<u64>compression_type: Option<Qcow2CompressionType>data_file: Option<BlockdevRef>data_file_raw: Option<bool>encrypt: Option<QCryptoBlockCreateOptions>extended_l2: Option<bool>lazy_refcounts: Option<bool>preallocation: Option<PreallocMode>refcount_bits: Option<i64>version: Option<BlockdevQcow2Version>file: BlockdevRefsize: u64Trait Implementations
sourceimpl Clone for BlockdevCreateOptionsQcow2
impl Clone for BlockdevCreateOptionsQcow2
sourcefn clone(&self) -> BlockdevCreateOptionsQcow2
fn clone(&self) -> BlockdevCreateOptionsQcow2
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 moresourceimpl Debug for BlockdevCreateOptionsQcow2
impl Debug for BlockdevCreateOptionsQcow2
sourceimpl<'de> Deserialize<'de> for BlockdevCreateOptionsQcow2
impl<'de> Deserialize<'de> for BlockdevCreateOptionsQcow2
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<BlockdevCreateOptionsQcow2> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsQcow2> for BlockdevCreateOptions
sourcefn from(val: BlockdevCreateOptionsQcow2) -> Self
fn from(val: BlockdevCreateOptionsQcow2) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for BlockdevCreateOptionsQcow2
impl Send for BlockdevCreateOptionsQcow2
impl Sync for BlockdevCreateOptionsQcow2
impl Unpin for BlockdevCreateOptionsQcow2
impl UnwindSafe for BlockdevCreateOptionsQcow2
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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