pub struct BlockDeviceInfo {
Show 32 fields pub backing_file: Option<String>, pub bps_max: Option<i64>, pub bps_max_length: Option<i64>, pub bps_rd_max: Option<i64>, pub bps_rd_max_length: Option<i64>, pub bps_wr_max: Option<i64>, pub bps_wr_max_length: Option<i64>, pub dirty_bitmaps: Option<Vec<BlockDirtyInfo>>, pub group: Option<String>, pub iops_max: Option<i64>, pub iops_max_length: Option<i64>, pub iops_rd_max: Option<i64>, pub iops_rd_max_length: Option<i64>, pub iops_size: Option<i64>, pub iops_wr_max: Option<i64>, pub iops_wr_max_length: Option<i64>, pub node_name: Option<String>, pub backing_file_depth: i64, pub bps: i64, pub bps_rd: i64, pub bps_wr: i64, pub cache: BlockdevCacheInfo, pub detect_zeroes: BlockdevDetectZeroesOptions, pub drv: String, pub encrypted: bool, pub file: String, pub image: ImageInfo, pub iops: i64, pub iops_rd: i64, pub iops_wr: i64, pub ro: bool, pub write_threshold: i64,
}

Fields

backing_file: Option<String>bps_max: Option<i64>bps_max_length: Option<i64>bps_rd_max: Option<i64>bps_rd_max_length: Option<i64>bps_wr_max: Option<i64>bps_wr_max_length: Option<i64>dirty_bitmaps: Option<Vec<BlockDirtyInfo>>group: Option<String>iops_max: Option<i64>iops_max_length: Option<i64>iops_rd_max: Option<i64>iops_rd_max_length: Option<i64>iops_size: Option<i64>iops_wr_max: Option<i64>iops_wr_max_length: Option<i64>node_name: Option<String>backing_file_depth: i64bps: i64bps_rd: i64bps_wr: i64cache: BlockdevCacheInfodetect_zeroes: BlockdevDetectZeroesOptionsdrv: Stringencrypted: boolfile: Stringimage: ImageInfoiops: i64iops_rd: i64iops_wr: i64ro: boolwrite_threshold: i64

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.