Struct qapi_qmp::BlockdevOptionsBlkdebug
source · pub struct BlockdevOptionsBlkdebug {
pub align: Option<i64>,
pub config: Option<String>,
pub inject_error: Option<Vec<BlkdebugInjectErrorOptions>>,
pub max_discard: Option<i32>,
pub max_transfer: Option<i32>,
pub max_write_zero: Option<i32>,
pub opt_discard: Option<i32>,
pub opt_write_zero: Option<i32>,
pub set_state: Option<Vec<BlkdebugSetStateOptions>>,
pub take_child_perms: Option<Vec<BlockPermission>>,
pub unshare_child_perms: Option<Vec<BlockPermission>>,
pub image: BlockdevRef,
}
Fields§
§align: Option<i64>
§config: Option<String>
§inject_error: Option<Vec<BlkdebugInjectErrorOptions>>
§max_discard: Option<i32>
§max_transfer: Option<i32>
§max_write_zero: Option<i32>
§opt_discard: Option<i32>
§opt_write_zero: Option<i32>
§set_state: Option<Vec<BlkdebugSetStateOptions>>
§take_child_perms: Option<Vec<BlockPermission>>
§image: BlockdevRef
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
Auto Trait Implementations§
impl RefUnwindSafe for BlockdevOptionsBlkdebug
impl Send for BlockdevOptionsBlkdebug
impl Sync for BlockdevOptionsBlkdebug
impl Unpin for BlockdevOptionsBlkdebug
impl UnwindSafe for BlockdevOptionsBlkdebug
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