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

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.