pub struct AdvancedMachineFeatures {
pub enable_nested_virtualization: Option<bool>,
pub threads_per_core: Option<i64>,
}
Expand description
Specifies options for controlling advanced machine features.
This type is not used in any activity, and only used as part of another schema.
Fields§
§enable_nested_virtualization: Option<bool>
Whether or not to enable nested virtualization (defaults to false).
threads_per_core: Option<i64>
The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
Trait Implementations§
Source§impl Clone for AdvancedMachineFeatures
impl Clone for AdvancedMachineFeatures
Source§fn clone(&self) -> AdvancedMachineFeatures
fn clone(&self) -> AdvancedMachineFeatures
Returns a copy 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 AdvancedMachineFeatures
impl Debug for AdvancedMachineFeatures
Source§impl Default for AdvancedMachineFeatures
impl Default for AdvancedMachineFeatures
Source§fn default() -> AdvancedMachineFeatures
fn default() -> AdvancedMachineFeatures
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdvancedMachineFeatures
impl<'de> Deserialize<'de> for AdvancedMachineFeatures
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 Serialize for AdvancedMachineFeatures
impl Serialize for AdvancedMachineFeatures
impl Part for AdvancedMachineFeatures
Auto Trait Implementations§
impl Freeze for AdvancedMachineFeatures
impl RefUnwindSafe for AdvancedMachineFeatures
impl Send for AdvancedMachineFeatures
impl Sync for AdvancedMachineFeatures
impl Unpin for AdvancedMachineFeatures
impl UnwindSafe for AdvancedMachineFeatures
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more