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

Fields§

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