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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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) -> 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. For more information, see AMD SEV-SNP.
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