Struct qapi_qmp::BlockdevOptionsQcow2
source · [−]pub struct BlockdevOptionsQcow2 {Show 13 fields
pub base: BlockdevOptionsGenericCOWFormat,
pub cache_clean_interval: Option<i64>,
pub cache_size: Option<i64>,
pub data_file: Option<BlockdevRef>,
pub encrypt: Option<BlockdevQcow2Encryption>,
pub l2_cache_entry_size: Option<i64>,
pub l2_cache_size: Option<i64>,
pub lazy_refcounts: Option<bool>,
pub overlap_check: Option<Qcow2OverlapChecks>,
pub pass_discard_other: Option<bool>,
pub pass_discard_request: Option<bool>,
pub pass_discard_snapshot: Option<bool>,
pub refcount_cache_size: Option<i64>,
}Fields
base: BlockdevOptionsGenericCOWFormatcache_clean_interval: Option<i64>cache_size: Option<i64>data_file: Option<BlockdevRef>encrypt: Option<BlockdevQcow2Encryption>l2_cache_entry_size: Option<i64>l2_cache_size: Option<i64>lazy_refcounts: Option<bool>overlap_check: Option<Qcow2OverlapChecks>pass_discard_other: Option<bool>pass_discard_request: Option<bool>pass_discard_snapshot: Option<bool>refcount_cache_size: Option<i64>Trait Implementations
sourceimpl AsRef<BlockdevOptionsGenericCOWFormat> for BlockdevOptionsQcow2
impl AsRef<BlockdevOptionsGenericCOWFormat> for BlockdevOptionsQcow2
sourcefn as_ref(&self) -> &BlockdevOptionsGenericCOWFormat
fn as_ref(&self) -> &BlockdevOptionsGenericCOWFormat
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for BlockdevOptionsQcow2
impl Clone for BlockdevOptionsQcow2
sourcefn clone(&self) -> BlockdevOptionsQcow2
fn clone(&self) -> BlockdevOptionsQcow2
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 BlockdevOptionsQcow2
impl Debug for BlockdevOptionsQcow2
sourceimpl<'de> Deserialize<'de> for BlockdevOptionsQcow2
impl<'de> Deserialize<'de> for BlockdevOptionsQcow2
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<T: Into<BlockdevOptionsGenericCOWFormat>> From<T> for BlockdevOptionsQcow2
impl<T: Into<BlockdevOptionsGenericCOWFormat>> From<T> for BlockdevOptionsQcow2
sourceimpl Serialize for BlockdevOptionsQcow2
impl Serialize for BlockdevOptionsQcow2
Auto Trait Implementations
impl RefUnwindSafe for BlockdevOptionsQcow2
impl Send for BlockdevOptionsQcow2
impl Sync for BlockdevOptionsQcow2
impl Unpin for BlockdevOptionsQcow2
impl UnwindSafe for BlockdevOptionsQcow2
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