pub struct Cpus {
pub boot: Option<u8>,
pub max: Option<u8>,
pub topology: Option<CpuTopology>,
pub kvm_hyperv: Option<OnOff>,
pub max_phys_bits: Option<u8>,
pub affinity: Option<Vec<CpuAffinity>>,
pub features: Option<CpuFeatures>,
}
Fields§
§boot: Option<u8>
§max: Option<u8>
§topology: Option<CpuTopology>
§kvm_hyperv: Option<OnOff>
§max_phys_bits: Option<u8>
§affinity: Option<Vec<CpuAffinity>>
§features: Option<CpuFeatures>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cpus
impl<'de> Deserialize<'de> for Cpus
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
Source§impl ToCommand for Cpus
impl ToCommand for Cpus
fn to_command(&self) -> Vec<String>
fn to_single_command(&self) -> String
impl Eq for Cpus
impl StructuralPartialEq for Cpus
Auto Trait Implementations§
impl Freeze for Cpus
impl RefUnwindSafe for Cpus
impl Send for Cpus
impl Sync for Cpus
impl Unpin for Cpus
impl UnwindSafe for Cpus
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