Struct qapi_qmp::BlockdevOptionsBlkdebug
source · [−]pub struct BlockdevOptionsBlkdebug {
pub inject_error: Option<Vec<BlkdebugInjectErrorOptions>>,
pub set_state: Option<Vec<BlkdebugSetStateOptions>>,
pub unshare_child_perms: Option<Vec<BlockPermission>>,
pub align: Option<i32>,
pub max_transfer: Option<i32>,
pub opt_write_zero: Option<i32>,
pub max_write_zero: Option<i32>,
pub opt_discard: Option<i32>,
pub max_discard: Option<i32>,
pub take_child_perms: Option<Vec<BlockPermission>>,
pub image: BlockdevRef,
pub config: Option<String>,
}Fields
inject_error: Option<Vec<BlkdebugInjectErrorOptions>>set_state: Option<Vec<BlkdebugSetStateOptions>>align: Option<i32>max_transfer: Option<i32>opt_write_zero: Option<i32>max_write_zero: Option<i32>opt_discard: Option<i32>max_discard: Option<i32>take_child_perms: Option<Vec<BlockPermission>>image: BlockdevRefconfig: Option<String>Trait 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 more
sourceimpl 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more