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>>,
pub manufacturer: Option<String>,
}
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.
manufacturer: Option<String>
The manufacturer of the processor.
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()
.
sourcepub fn manufacturer(&self) -> Option<&str>
pub fn manufacturer(&self) -> Option<&str>
The manufacturer of the processor.
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 ==
.impl StructuralPartialEq for ProcessorInfo
Auto Trait Implementations§
impl Freeze for ProcessorInfo
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more