Struct aws_sdk_ec2::model::LaunchTemplateCpuOptions
source · [−]#[non_exhaustive]pub struct LaunchTemplateCpuOptions { /* private fields */ }
Expand description
The CPU options for the instance.
Implementations
sourceimpl LaunchTemplateCpuOptions
impl LaunchTemplateCpuOptions
sourcepub fn core_count(&self) -> Option<i32>
pub fn core_count(&self) -> Option<i32>
The number of CPU cores for the instance.
sourcepub fn threads_per_core(&self) -> Option<i32>
pub fn threads_per_core(&self) -> Option<i32>
The number of threads per CPU core.
sourceimpl LaunchTemplateCpuOptions
impl LaunchTemplateCpuOptions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LaunchTemplateCpuOptions
.
Trait Implementations
sourceimpl Clone for LaunchTemplateCpuOptions
impl Clone for LaunchTemplateCpuOptions
sourcefn clone(&self) -> LaunchTemplateCpuOptions
fn clone(&self) -> LaunchTemplateCpuOptions
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 LaunchTemplateCpuOptions
impl Debug for LaunchTemplateCpuOptions
sourceimpl PartialEq<LaunchTemplateCpuOptions> for LaunchTemplateCpuOptions
impl PartialEq<LaunchTemplateCpuOptions> for LaunchTemplateCpuOptions
sourcefn eq(&self, other: &LaunchTemplateCpuOptions) -> bool
fn eq(&self, other: &LaunchTemplateCpuOptions) -> bool
impl StructuralPartialEq for LaunchTemplateCpuOptions
Auto Trait Implementations
impl RefUnwindSafe for LaunchTemplateCpuOptions
impl Send for LaunchTemplateCpuOptions
impl Sync for LaunchTemplateCpuOptions
impl Unpin for LaunchTemplateCpuOptions
impl UnwindSafe for LaunchTemplateCpuOptions
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