pub struct BlockInfo {
pub device: String,
pub removable: bool,
pub tray_open: Option<bool>,
pub type_: String,
pub qdev: Option<String>,
pub locked: bool,
pub inserted: Option<BlockDeviceInfo>,
pub io_status: Option<BlockDeviceIoStatus>,
pub dirty_bitmaps: Option<Vec<BlockDirtyInfo>>,
}
Fields§
§device: String
§removable: bool
§tray_open: Option<bool>
§type_: String
§qdev: Option<String>
§locked: bool
§inserted: Option<BlockDeviceInfo>
§io_status: Option<BlockDeviceIoStatus>
§dirty_bitmaps: Option<Vec<BlockDirtyInfo>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for BlockInfo
impl<'de> Deserialize<'de> for BlockInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more