Struct qapi_qmp::BlockdevCreateOptionsVdi [−][src]
pub struct BlockdevCreateOptionsVdi {
pub size: usize,
pub preallocation: Option<PreallocMode>,
pub file: BlockdevRef,
}
Fields
size: usize
preallocation: Option<PreallocMode>
file: BlockdevRef
Trait Implementations
fn 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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for BlockdevCreateOptionsVdi
impl Send for BlockdevCreateOptionsVdi
impl Sync for BlockdevCreateOptionsVdi
impl Unpin for BlockdevCreateOptionsVdi
impl UnwindSafe for BlockdevCreateOptionsVdi
Blanket Implementations
Mutably borrows from an owned value. Read more