[][src]Struct qapi_qmp::BlockdevOptionsQcow2

pub struct BlockdevOptionsQcow2 {
    pub base: BlockdevOptionsGenericCOWFormat,
    pub overlap_check: Option<Qcow2OverlapChecks>,
    pub pass_discard_request: Option<bool>,
    pub l2_cache_size: Option<isize>,
    pub pass_discard_snapshot: Option<bool>,
    pub lazy_refcounts: Option<bool>,
    pub cache_size: Option<isize>,
    pub l2_cache_entry_size: Option<isize>,
    pub refcount_cache_size: Option<isize>,
    pub cache_clean_interval: Option<isize>,
    pub encrypt: Option<BlockdevQcow2Encryption>,
    pub pass_discard_other: Option<bool>,
    pub data_file: Option<BlockdevRef>,
}

Fields

base: BlockdevOptionsGenericCOWFormatoverlap_check: Option<Qcow2OverlapChecks>pass_discard_request: Option<bool>l2_cache_size: Option<isize>pass_discard_snapshot: Option<bool>lazy_refcounts: Option<bool>cache_size: Option<isize>l2_cache_entry_size: Option<isize>refcount_cache_size: Option<isize>cache_clean_interval: Option<isize>encrypt: Option<BlockdevQcow2Encryption>pass_discard_other: Option<bool>data_file: Option<BlockdevRef>

Trait Implementations

impl Clone for BlockdevOptionsQcow2[src]

impl Debug for BlockdevOptionsQcow2[src]

impl<'de> Deserialize<'de> for BlockdevOptionsQcow2[src]

impl Serialize for BlockdevOptionsQcow2[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.