Struct aws_sdk_ec2::types::ProcessorInfo
source · #[non_exhaustive]pub struct ProcessorInfo { /* private fields */ }
Expand description
Describes the processor used by the instance type.
Implementations§
source§impl ProcessorInfo
impl ProcessorInfo
sourcepub fn supported_architectures(&self) -> Option<&[ArchitectureType]>
pub fn supported_architectures(&self) -> Option<&[ArchitectureType]>
The architectures supported by the instance type.
sourcepub fn sustained_clock_speed_in_ghz(&self) -> Option<f64>
pub fn sustained_clock_speed_in_ghz(&self) -> Option<f64>
The speed of the processor, in GHz.
sourcepub fn supported_features(
&self
) -> Option<&[SupportedAdditionalProcessorFeature]>
pub fn supported_features( &self ) -> Option<&[SupportedAdditionalProcessorFeature]>
Indicates whether the instance type supports AMD SEV-SNP. If the request returns amd-sev-snp
, AMD SEV-SNP is supported. Otherwise, it is not supported.
source§impl ProcessorInfo
impl ProcessorInfo
sourcepub fn builder() -> ProcessorInfoBuilder
pub fn builder() -> ProcessorInfoBuilder
Creates a new builder-style object to manufacture ProcessorInfo
.
Trait Implementations§
source§impl Clone for ProcessorInfo
impl Clone for ProcessorInfo
source§fn clone(&self) -> ProcessorInfo
fn clone(&self) -> ProcessorInfo
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 ProcessorInfo
impl Debug for ProcessorInfo
source§impl PartialEq<ProcessorInfo> for ProcessorInfo
impl PartialEq<ProcessorInfo> for ProcessorInfo
source§fn eq(&self, other: &ProcessorInfo) -> bool
fn eq(&self, other: &ProcessorInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProcessorInfo
Auto Trait Implementations§
impl RefUnwindSafe for ProcessorInfo
impl Send for ProcessorInfo
impl Sync for ProcessorInfo
impl Unpin for ProcessorInfo
impl UnwindSafe for ProcessorInfo
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