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: BlockdevRefTrait Implementations
sourceimpl Clone for BlockdevOptionsBlkdebug
impl Clone for BlockdevOptionsBlkdebug
sourcefn clone(&self) -> BlockdevOptionsBlkdebug
fn clone(&self) -> BlockdevOptionsBlkdebug
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for BlockdevOptionsBlkdebug
impl Debug for BlockdevOptionsBlkdebug
sourceimpl<'de> Deserialize<'de> for BlockdevOptionsBlkdebug
impl<'de> Deserialize<'de> for BlockdevOptionsBlkdebug
sourcefn 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
sourceimpl Serialize for BlockdevOptionsBlkdebug
impl Serialize for BlockdevOptionsBlkdebug
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more