Struct qapi_qmp::BlockDeviceInfo
source · [−]pub struct BlockDeviceInfo {Show 32 fields
pub image: ImageInfo,
pub bps_max_length: Option<i32>,
pub drv: String,
pub detect_zeroes: BlockdevDetectZeroesOptions,
pub cache: BlockdevCacheInfo,
pub encrypted: bool,
pub iops_rd: i32,
pub iops: i32,
pub group: Option<String>,
pub ro: bool,
pub bps_rd_max_length: Option<i32>,
pub bps_max: Option<i32>,
pub iops_wr_max: Option<i32>,
pub iops_rd_max: Option<i32>,
pub bps_rd_max: Option<i32>,
pub bps: i32,
pub iops_max: Option<i32>,
pub bps_wr_max_length: Option<i32>,
pub iops_size: Option<i32>,
pub node_name: Option<String>,
pub dirty_bitmaps: Option<Vec<BlockDirtyInfo>>,
pub iops_max_length: Option<i32>,
pub backing_file: Option<String>,
pub bps_wr: i32,
pub file: String,
pub backing_file_depth: i32,
pub bps_rd: i32,
pub iops_wr: i32,
pub bps_wr_max: Option<i32>,
pub write_threshold: i32,
pub iops_rd_max_length: Option<i32>,
pub iops_wr_max_length: Option<i32>,
}Fields
image: ImageInfobps_max_length: Option<i32>drv: Stringdetect_zeroes: BlockdevDetectZeroesOptionscache: BlockdevCacheInfoencrypted: booliops_rd: i32iops: i32group: Option<String>ro: boolbps_rd_max_length: Option<i32>bps_max: Option<i32>iops_wr_max: Option<i32>iops_rd_max: Option<i32>bps_rd_max: Option<i32>bps: i32iops_max: Option<i32>bps_wr_max_length: Option<i32>iops_size: Option<i32>node_name: Option<String>dirty_bitmaps: Option<Vec<BlockDirtyInfo>>iops_max_length: Option<i32>backing_file: Option<String>bps_wr: i32file: Stringbacking_file_depth: i32bps_rd: i32iops_wr: i32bps_wr_max: Option<i32>write_threshold: i32iops_rd_max_length: Option<i32>iops_wr_max_length: Option<i32>Trait Implementations
sourceimpl Clone for BlockDeviceInfo
impl Clone for BlockDeviceInfo
sourcefn clone(&self) -> BlockDeviceInfo
fn clone(&self) -> BlockDeviceInfo
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 BlockDeviceInfo
impl Debug for BlockDeviceInfo
sourceimpl<'de> Deserialize<'de> for BlockDeviceInfo
impl<'de> Deserialize<'de> for BlockDeviceInfo
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 BlockDeviceInfo
impl Serialize for BlockDeviceInfo
Auto Trait Implementations
impl RefUnwindSafe for BlockDeviceInfo
impl Send for BlockDeviceInfo
impl Sync for BlockDeviceInfo
impl Unpin for BlockDeviceInfo
impl UnwindSafe for BlockDeviceInfo
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