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

Fields§

§bps_wr: isize§bps_rd_max_length: Option<isize>§backing_file: Option<String>§ro: bool§bps_max: Option<isize>§iops_wr: isize§iops: isize§iops_rd_max_length: Option<isize>§group: Option<String>§image: ImageInfo§encrypted: bool§bps_rd: isize§cache: BlockdevCacheInfo§encryption_key_missing: bool§node_name: Option<String>§detect_zeroes: BlockdevDetectZeroesOptions§iops_rd: isize§bps: isize§file: String§iops_wr_max_length: Option<isize>§iops_max_length: Option<isize>§write_threshold: isize§iops_rd_max: Option<isize>§backing_file_depth: isize§bps_rd_max: Option<isize>§drv: String§iops_wr_max: Option<isize>§bps_max_length: Option<isize>§bps_wr_max_length: Option<isize>§bps_wr_max: Option<isize>§iops_max: Option<isize>§iops_size: Option<isize>

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.