Struct qapi_qmp::MachineInfo
source · pub struct MachineInfo {
pub alias: Option<String>,
pub default_cpu_type: Option<String>,
pub default_ram_id: Option<String>,
pub is_default: Option<bool>,
pub acpi: bool,
pub cpu_max: i64,
pub deprecated: bool,
pub hotpluggable_cpus: bool,
pub name: String,
pub numa_mem_supported: bool,
}
Fields§
§alias: Option<String>
§default_cpu_type: Option<String>
§default_ram_id: Option<String>
§is_default: Option<bool>
§acpi: bool
§cpu_max: i64
§deprecated: bool
§hotpluggable_cpus: bool
§name: String
§numa_mem_supported: bool
Trait Implementations§
source§impl Clone for MachineInfo
impl Clone for MachineInfo
source§fn clone(&self) -> MachineInfo
fn clone(&self) -> MachineInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MachineInfo
impl Debug for MachineInfo
source§impl<'de> Deserialize<'de> for MachineInfo
impl<'de> Deserialize<'de> for MachineInfo
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
Auto Trait Implementations§
impl RefUnwindSafe for MachineInfo
impl Send for MachineInfo
impl Sync for MachineInfo
impl Unpin for MachineInfo
impl UnwindSafe for MachineInfo
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