#[non_exhaustive]pub struct AcceleratorTypeOffering {
pub accelerator_type: Option<String>,
pub location_type: Option<LocationType>,
pub location: Option<String>,
}
Expand description
The offering for an Elastic Inference Accelerator 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.accelerator_type: Option<String>
The name of the Elastic Inference Accelerator type.
location_type: Option<LocationType>
The location type for the offering. It can assume the following values: region: defines that the offering is at the regional level. availability-zone: defines that the offering is at the availability zone level. availability-zone-id: defines that the offering is at the availability zone level, defined by the availability zone id.
location: Option<String>
The location for the offering. It will return either the region, availability zone or availability zone id for the offering depending on the locationType value.
Implementations§
source§impl AcceleratorTypeOffering
impl AcceleratorTypeOffering
sourcepub fn accelerator_type(&self) -> Option<&str>
pub fn accelerator_type(&self) -> Option<&str>
The name of the Elastic Inference Accelerator type.
sourcepub fn location_type(&self) -> Option<&LocationType>
pub fn location_type(&self) -> Option<&LocationType>
The location type for the offering. It can assume the following values: region: defines that the offering is at the regional level. availability-zone: defines that the offering is at the availability zone level. availability-zone-id: defines that the offering is at the availability zone level, defined by the availability zone id.
source§impl AcceleratorTypeOffering
impl AcceleratorTypeOffering
sourcepub fn builder() -> AcceleratorTypeOfferingBuilder
pub fn builder() -> AcceleratorTypeOfferingBuilder
Creates a new builder-style object to manufacture AcceleratorTypeOffering
.
Trait Implementations§
source§impl Clone for AcceleratorTypeOffering
impl Clone for AcceleratorTypeOffering
source§fn clone(&self) -> AcceleratorTypeOffering
fn clone(&self) -> AcceleratorTypeOffering
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AcceleratorTypeOffering
impl Debug for AcceleratorTypeOffering
source§impl PartialEq for AcceleratorTypeOffering
impl PartialEq for AcceleratorTypeOffering
source§fn eq(&self, other: &AcceleratorTypeOffering) -> bool
fn eq(&self, other: &AcceleratorTypeOffering) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AcceleratorTypeOffering
Auto Trait Implementations§
impl Freeze for AcceleratorTypeOffering
impl RefUnwindSafe for AcceleratorTypeOffering
impl Send for AcceleratorTypeOffering
impl Sync for AcceleratorTypeOffering
impl Unpin for AcceleratorTypeOffering
impl UnwindSafe for AcceleratorTypeOffering
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