Struct aws_sdk_ec2::types::ProcessorInfo
source · #[non_exhaustive]pub struct ProcessorInfo {
pub supported_architectures: Option<Vec<ArchitectureType>>,
pub sustained_clock_speed_in_ghz: Option<f64>,
pub supported_features: Option<Vec<SupportedAdditionalProcessorFeature>>,
}
Expand description
Describes the processor used by the instance type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.supported_architectures: Option<Vec<ArchitectureType>>
The architectures supported by the instance type.
sustained_clock_speed_in_ghz: Option<f64>
The speed of the processor, in GHz.
supported_features: Option<Vec<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. For more information, see AMD SEV-SNP.
Implementations§
source§impl ProcessorInfo
impl ProcessorInfo
sourcepub fn supported_architectures(&self) -> &[ArchitectureType]
pub fn supported_architectures(&self) -> &[ArchitectureType]
The architectures supported by the instance type.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .supported_architectures.is_none()
.
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) -> &[SupportedAdditionalProcessorFeature]
pub fn supported_features(&self) -> &[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. For more information, see AMD SEV-SNP.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .supported_features.is_none()
.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProcessorInfo
impl Debug for ProcessorInfo
source§impl PartialEq for ProcessorInfo
impl PartialEq for ProcessorInfo
source§fn eq(&self, other: &ProcessorInfo) -> bool
fn eq(&self, other: &ProcessorInfo) -> bool
self
and other
values to be equal, and is used
by ==
.