pub struct VmInfo {
pub config: VmConfig,
pub state: State,
pub memory_actual_size: Option<i64>,
pub device_tree: Option<HashMap<String, DeviceNode>>,
}Expand description
VmInfo : Virtual Machine information
Fields§
§config: VmConfig§state: State§memory_actual_size: Option<i64>§device_tree: Option<HashMap<String, DeviceNode>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VmInfo
impl<'de> Deserialize<'de> for VmInfo
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
impl StructuralPartialEq for VmInfo
Auto Trait Implementations§
impl Freeze for VmInfo
impl RefUnwindSafe for VmInfo
impl Send for VmInfo
impl Sync for VmInfo
impl Unpin for VmInfo
impl UnwindSafe for VmInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more