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 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>cpu_max: i64deprecated: boolhotpluggable_cpus: boolname: Stringnuma_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 moresourceimpl 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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