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§

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.