pub struct LaunchTemplateCpuOptionsRequest {
pub core_count: Option<i64>,
pub threads_per_core: Option<i64>,
}Expand description
The CPU options for the instance. Both the core count and threads per core must be specified in the request.
Fields§
§core_count: Option<i64>The number of CPU cores for the instance.
threads_per_core: Option<i64>The number of threads per CPU core. To disable multithreading for the instance, specify a value of 1. Otherwise, specify the default value of 2.
Trait Implementations§
Source§impl Clone for LaunchTemplateCpuOptionsRequest
impl Clone for LaunchTemplateCpuOptionsRequest
Source§fn clone(&self) -> LaunchTemplateCpuOptionsRequest
fn clone(&self) -> LaunchTemplateCpuOptionsRequest
Returns a duplicate 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 Default for LaunchTemplateCpuOptionsRequest
impl Default for LaunchTemplateCpuOptionsRequest
Source§fn default() -> LaunchTemplateCpuOptionsRequest
fn default() -> LaunchTemplateCpuOptionsRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for LaunchTemplateCpuOptionsRequest
impl PartialEq for LaunchTemplateCpuOptionsRequest
Source§fn eq(&self, other: &LaunchTemplateCpuOptionsRequest) -> bool
fn eq(&self, other: &LaunchTemplateCpuOptionsRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LaunchTemplateCpuOptionsRequest
Auto Trait Implementations§
impl Freeze for LaunchTemplateCpuOptionsRequest
impl RefUnwindSafe for LaunchTemplateCpuOptionsRequest
impl Send for LaunchTemplateCpuOptionsRequest
impl Sync for LaunchTemplateCpuOptionsRequest
impl Unpin for LaunchTemplateCpuOptionsRequest
impl UnwindSafe for LaunchTemplateCpuOptionsRequest
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