pub struct RawCpuConfig {
pub reg_modifiers: Option<Vec<Value>>,
pub vcpu_features: Option<Vec<Value>>,
pub cpuid_modifiers: Option<Vec<Value>>,
pub msr_modifiers: Option<Vec<Value>>,
pub kvm_capabilities: Option<Vec<Value>>,
}Expand description
Raw /cpu-config PUT body off the wire.
Fields§
§reg_modifiers: Option<Vec<Value>>aarch64 reg_modifiers.
vcpu_features: Option<Vec<Value>>aarch64 vcpu_features.
cpuid_modifiers: Option<Vec<Value>>x86 cpuid_modifiers (accept-and-warn).
msr_modifiers: Option<Vec<Value>>x86 msr_modifiers (accept-and-warn).
kvm_capabilities: Option<Vec<Value>>kvm_capabilities (accept-and-warn).
Trait Implementations§
Source§impl Clone for RawCpuConfig
impl Clone for RawCpuConfig
Source§fn clone(&self) -> RawCpuConfig
fn clone(&self) -> RawCpuConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RawCpuConfig
impl Debug for RawCpuConfig
Source§impl Default for RawCpuConfig
impl Default for RawCpuConfig
Source§fn default() -> RawCpuConfig
fn default() -> RawCpuConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RawCpuConfig
impl<'de> Deserialize<'de> for RawCpuConfig
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 RawCpuConfig
impl RefUnwindSafe for RawCpuConfig
impl Send for RawCpuConfig
impl Sync for RawCpuConfig
impl Unpin for RawCpuConfig
impl UnsafeUnpin for RawCpuConfig
impl UnwindSafe for RawCpuConfig
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