Struct aws_sdk_ec2::types::ElasticInferenceAccelerator
source · #[non_exhaustive]pub struct ElasticInferenceAccelerator {
pub type: Option<String>,
pub count: Option<i32>,
}Expand description
Describes an elastic inference accelerator.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.type: Option<String> The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, eia1.xlarge, eia2.medium, eia2.large, and eia2.xlarge.
count: Option<i32>The number of elastic inference accelerators to attach to the instance.
Default: 1
Implementations§
source§impl ElasticInferenceAccelerator
impl ElasticInferenceAccelerator
source§impl ElasticInferenceAccelerator
impl ElasticInferenceAccelerator
sourcepub fn builder() -> ElasticInferenceAcceleratorBuilder
pub fn builder() -> ElasticInferenceAcceleratorBuilder
Creates a new builder-style object to manufacture ElasticInferenceAccelerator.
Trait Implementations§
source§impl Clone for ElasticInferenceAccelerator
impl Clone for ElasticInferenceAccelerator
source§fn clone(&self) -> ElasticInferenceAccelerator
fn clone(&self) -> ElasticInferenceAccelerator
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ElasticInferenceAccelerator
impl Debug for ElasticInferenceAccelerator
source§impl PartialEq<ElasticInferenceAccelerator> for ElasticInferenceAccelerator
impl PartialEq<ElasticInferenceAccelerator> for ElasticInferenceAccelerator
source§fn eq(&self, other: &ElasticInferenceAccelerator) -> bool
fn eq(&self, other: &ElasticInferenceAccelerator) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ElasticInferenceAccelerator
Auto Trait Implementations§
impl RefUnwindSafe for ElasticInferenceAccelerator
impl Send for ElasticInferenceAccelerator
impl Sync for ElasticInferenceAccelerator
impl Unpin for ElasticInferenceAccelerator
impl UnwindSafe for ElasticInferenceAccelerator
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
Mutably borrows from an owned value. Read more