pub struct MachineInfo {
pub alias: Option<String>,
pub compat_props: Option<Vec<CompatProperty>>,
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>
§compat_props: Option<Vec<CompatProperty>>
§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 duplicate 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 Freeze for MachineInfo
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