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 ==.impl StructuralPartialEq for DescribeAcceleratorOfferingsInput
Auto Trait Implementations§
impl Freeze for DescribeAcceleratorOfferingsInput
impl RefUnwindSafe for DescribeAcceleratorOfferingsInput
impl Send for DescribeAcceleratorOfferingsInput
impl Sync for DescribeAcceleratorOfferingsInput
impl Unpin for DescribeAcceleratorOfferingsInput
impl UnwindSafe for DescribeAcceleratorOfferingsInput
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