Struct qapi_qmp::BlockdevCreateOptionsQed
source · pub struct BlockdevCreateOptionsQed {
pub backing_file: Option<String>,
pub backing_fmt: Option<BlockdevDriver>,
pub cluster_size: Option<u64>,
pub table_size: Option<i64>,
pub file: BlockdevRef,
pub size: u64,
}
Fields§
§backing_file: Option<String>
§backing_fmt: Option<BlockdevDriver>
§cluster_size: Option<u64>
§table_size: Option<i64>
§file: BlockdevRef
§size: u64
Trait Implementations§
source§impl Clone for BlockdevCreateOptionsQed
impl Clone for BlockdevCreateOptionsQed
source§fn clone(&self) -> BlockdevCreateOptionsQed
fn clone(&self) -> BlockdevCreateOptionsQed
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BlockdevCreateOptionsQed
impl Debug for BlockdevCreateOptionsQed
source§impl<'de> Deserialize<'de> for BlockdevCreateOptionsQed
impl<'de> Deserialize<'de> for BlockdevCreateOptionsQed
source§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
source§impl From<BlockdevCreateOptionsQed> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsQed> for BlockdevCreateOptions
source§fn from(val: BlockdevCreateOptionsQed) -> Self
fn from(val: BlockdevCreateOptionsQed) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for BlockdevCreateOptionsQed
impl Send for BlockdevCreateOptionsQed
impl Sync for BlockdevCreateOptionsQed
impl Unpin for BlockdevCreateOptionsQed
impl UnwindSafe for BlockdevCreateOptionsQed
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more