#[non_exhaustive]pub struct InstanceRequirementsWithMetadataRequest {
pub architecture_types: Option<Vec<ArchitectureType>>,
pub virtualization_types: Option<Vec<VirtualizationType>>,
pub instance_requirements: Option<InstanceRequirementsRequest>,
}
Expand description
The architecture type, virtualization type, and other attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.
If you specify InstanceRequirementsWithMetadataRequest
, you can't specify InstanceTypes
.
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.architecture_types: Option<Vec<ArchitectureType>>
The architecture type.
virtualization_types: Option<Vec<VirtualizationType>>
The virtualization type.
instance_requirements: Option<InstanceRequirementsRequest>
The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.
Implementations
sourceimpl InstanceRequirementsWithMetadataRequest
impl InstanceRequirementsWithMetadataRequest
sourcepub fn architecture_types(&self) -> Option<&[ArchitectureType]>
pub fn architecture_types(&self) -> Option<&[ArchitectureType]>
The architecture type.
sourcepub fn virtualization_types(&self) -> Option<&[VirtualizationType]>
pub fn virtualization_types(&self) -> Option<&[VirtualizationType]>
The virtualization type.
sourcepub fn instance_requirements(&self) -> Option<&InstanceRequirementsRequest>
pub fn instance_requirements(&self) -> Option<&InstanceRequirementsRequest>
The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.
sourceimpl InstanceRequirementsWithMetadataRequest
impl InstanceRequirementsWithMetadataRequest
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InstanceRequirementsWithMetadataRequest
.
Trait Implementations
sourceimpl Clone for InstanceRequirementsWithMetadataRequest
impl Clone for InstanceRequirementsWithMetadataRequest
sourcefn clone(&self) -> InstanceRequirementsWithMetadataRequest
fn clone(&self) -> InstanceRequirementsWithMetadataRequest
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 more
sourceimpl PartialEq<InstanceRequirementsWithMetadataRequest> for InstanceRequirementsWithMetadataRequest
impl PartialEq<InstanceRequirementsWithMetadataRequest> for InstanceRequirementsWithMetadataRequest
sourcefn eq(&self, other: &InstanceRequirementsWithMetadataRequest) -> bool
fn eq(&self, other: &InstanceRequirementsWithMetadataRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InstanceRequirementsWithMetadataRequest) -> bool
fn ne(&self, other: &InstanceRequirementsWithMetadataRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for InstanceRequirementsWithMetadataRequest
Auto Trait Implementations
impl RefUnwindSafe for InstanceRequirementsWithMetadataRequest
impl Send for InstanceRequirementsWithMetadataRequest
impl Sync for InstanceRequirementsWithMetadataRequest
impl Unpin for InstanceRequirementsWithMetadataRequest
impl UnwindSafe for InstanceRequirementsWithMetadataRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more