Struct aws_sdk_elasticinference::operation::describe_accelerator_offerings::DescribeAcceleratorOfferingsInput
source · #[non_exhaustive]pub struct DescribeAcceleratorOfferingsInput {
pub location_type: Option<LocationType>,
pub accelerator_types: Option<Vec<String>>,
}
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.location_type: Option<LocationType>
The location type that you want to describe accelerator type offerings for. It can assume the following values: region: will return the accelerator type offering at the regional level. availability-zone: will return the accelerator type offering at the availability zone level. availability-zone-id: will return the accelerator type offering at the availability zone level returning the availability zone id.
accelerator_types: Option<Vec<String>>
The list of accelerator types to describe.
Implementations§
source§impl DescribeAcceleratorOfferingsInput
impl DescribeAcceleratorOfferingsInput
sourcepub fn location_type(&self) -> Option<&LocationType>
pub fn location_type(&self) -> Option<&LocationType>
The location type that you want to describe accelerator type offerings for. It can assume the following values: region: will return the accelerator type offering at the regional level. availability-zone: will return the accelerator type offering at the availability zone level. availability-zone-id: will return the accelerator type offering at the availability zone level returning the availability zone id.
sourcepub fn accelerator_types(&self) -> &[String]
pub fn accelerator_types(&self) -> &[String]
The list of accelerator types to describe.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .accelerator_types.is_none()
.
source§impl DescribeAcceleratorOfferingsInput
impl DescribeAcceleratorOfferingsInput
sourcepub fn builder() -> DescribeAcceleratorOfferingsInputBuilder
pub fn builder() -> DescribeAcceleratorOfferingsInputBuilder
Creates a new builder-style object to manufacture DescribeAcceleratorOfferingsInput
.
Trait Implementations§
source§impl Clone for DescribeAcceleratorOfferingsInput
impl Clone for DescribeAcceleratorOfferingsInput
source§fn clone(&self) -> DescribeAcceleratorOfferingsInput
fn clone(&self) -> DescribeAcceleratorOfferingsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DescribeAcceleratorOfferingsInput
impl PartialEq for DescribeAcceleratorOfferingsInput
source§fn eq(&self, other: &DescribeAcceleratorOfferingsInput) -> bool
fn eq(&self, other: &DescribeAcceleratorOfferingsInput) -> bool
self
and other
values to be equal, and is used
by ==
.