Struct qapi_qmp::BlockdevOptionsBlkdebug
source · pub struct BlockdevOptionsBlkdebug {
pub max_discard: Option<i32>,
pub inject_error: Option<Vec<BlkdebugInjectErrorOptions>>,
pub set_state: Option<Vec<BlkdebugSetStateOptions>>,
pub config: Option<String>,
pub max_transfer: Option<i32>,
pub image: BlockdevRef,
pub align: Option<isize>,
pub opt_write_zero: Option<i32>,
pub max_write_zero: Option<i32>,
pub opt_discard: Option<i32>,
}Fields§
§max_discard: Option<i32>§inject_error: Option<Vec<BlkdebugInjectErrorOptions>>§set_state: Option<Vec<BlkdebugSetStateOptions>>§config: Option<String>§max_transfer: Option<i32>§image: BlockdevRef§align: Option<isize>§opt_write_zero: Option<i32>§max_write_zero: Option<i32>§opt_discard: Option<i32>Trait Implementations§
source§impl Clone for BlockdevOptionsBlkdebug
impl Clone for BlockdevOptionsBlkdebug
source§fn clone(&self) -> BlockdevOptionsBlkdebug
fn clone(&self) -> BlockdevOptionsBlkdebug
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 BlockdevOptionsBlkdebug
impl Debug for BlockdevOptionsBlkdebug
source§impl<'de> Deserialize<'de> for BlockdevOptionsBlkdebug
impl<'de> Deserialize<'de> for BlockdevOptionsBlkdebug
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