Struct qapi_qmp::BlockDeviceInfo
source · pub struct BlockDeviceInfo {Show 32 fields
pub bps_max: Option<isize>,
pub encrypted: bool,
pub bps: isize,
pub image: ImageInfo,
pub node_name: Option<String>,
pub drv: String,
pub iops_max_length: Option<isize>,
pub bps_wr: isize,
pub detect_zeroes: BlockdevDetectZeroesOptions,
pub ro: bool,
pub bps_rd_max_length: Option<isize>,
pub iops: isize,
pub write_threshold: isize,
pub iops_rd: isize,
pub iops_wr_max: Option<isize>,
pub file: String,
pub backing_file: Option<String>,
pub bps_rd: isize,
pub bps_max_length: Option<isize>,
pub cache: BlockdevCacheInfo,
pub bps_rd_max: Option<isize>,
pub bps_wr_max: Option<isize>,
pub iops_rd_max: Option<isize>,
pub encryption_key_missing: bool,
pub iops_wr: isize,
pub group: Option<String>,
pub iops_wr_max_length: Option<isize>,
pub iops_size: Option<isize>,
pub iops_rd_max_length: Option<isize>,
pub backing_file_depth: isize,
pub bps_wr_max_length: Option<isize>,
pub iops_max: Option<isize>,
}
Fields§
§bps_max: Option<isize>
§encrypted: bool
§bps: isize
§image: ImageInfo
§node_name: Option<String>
§drv: String
§iops_max_length: Option<isize>
§bps_wr: isize
§detect_zeroes: BlockdevDetectZeroesOptions
§ro: bool
§bps_rd_max_length: Option<isize>
§iops: isize
§write_threshold: isize
§iops_rd: isize
§iops_wr_max: Option<isize>
§file: String
§backing_file: Option<String>
§bps_rd: isize
§bps_max_length: Option<isize>
§cache: BlockdevCacheInfo
§bps_rd_max: Option<isize>
§bps_wr_max: Option<isize>
§iops_rd_max: Option<isize>
§encryption_key_missing: bool
§iops_wr: isize
§group: Option<String>
§iops_wr_max_length: Option<isize>
§iops_size: Option<isize>
§iops_rd_max_length: Option<isize>
§backing_file_depth: isize
§bps_wr_max_length: Option<isize>
§iops_max: Option<isize>
Trait Implementations§
source§impl Clone for BlockDeviceInfo
impl Clone for BlockDeviceInfo
source§fn clone(&self) -> BlockDeviceInfo
fn clone(&self) -> BlockDeviceInfo
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 BlockDeviceInfo
impl Debug for BlockDeviceInfo
source§impl<'de> Deserialize<'de> for BlockDeviceInfo
impl<'de> Deserialize<'de> for BlockDeviceInfo
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