Struct qapi_qmp::MachineInfo
source · [−]pub struct MachineInfo {
pub hotpluggable_cpus: bool,
pub default_ram_id: Option<String>,
pub deprecated: bool,
pub cpu_max: i32,
pub is_default: Option<bool>,
pub name: String,
pub default_cpu_type: Option<String>,
pub alias: Option<String>,
pub numa_mem_supported: bool,
}Fields
hotpluggable_cpus: booldefault_ram_id: Option<String>deprecated: boolcpu_max: i32is_default: Option<bool>name: Stringdefault_cpu_type: Option<String>alias: Option<String>numa_mem_supported: boolTrait Implementations
sourceimpl Clone for MachineInfo
impl Clone for MachineInfo
sourcefn clone(&self) -> MachineInfo
fn clone(&self) -> MachineInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for MachineInfo
impl Debug for MachineInfo
sourceimpl<'de> Deserialize<'de> for MachineInfo
impl<'de> Deserialize<'de> for MachineInfo
sourcefn 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
sourceimpl Serialize for MachineInfo
impl Serialize for MachineInfo
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more