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: u64

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Converts to this type from the input type.
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.