#[non_exhaustive]pub struct AwsEcsTaskDefinitionInferenceAcceleratorsDetails { /* private fields */ }Expand description
An Elastic Inference accelerator to use for the containers in the task.
Implementations
sourceimpl AwsEcsTaskDefinitionInferenceAcceleratorsDetails
impl AwsEcsTaskDefinitionInferenceAcceleratorsDetails
sourcepub fn device_name(&self) -> Option<&str>
pub fn device_name(&self) -> Option<&str>
The Elastic Inference accelerator device name.
sourcepub fn device_type(&self) -> Option<&str>
pub fn device_type(&self) -> Option<&str>
The Elastic Inference accelerator type to use.
sourceimpl AwsEcsTaskDefinitionInferenceAcceleratorsDetails
impl AwsEcsTaskDefinitionInferenceAcceleratorsDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEcsTaskDefinitionInferenceAcceleratorsDetails.
Trait Implementations
sourceimpl Clone for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
impl Clone for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
sourcefn clone(&self) -> AwsEcsTaskDefinitionInferenceAcceleratorsDetails
fn clone(&self) -> AwsEcsTaskDefinitionInferenceAcceleratorsDetails
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<AwsEcsTaskDefinitionInferenceAcceleratorsDetails> for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
impl PartialEq<AwsEcsTaskDefinitionInferenceAcceleratorsDetails> for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
sourcefn eq(&self, other: &AwsEcsTaskDefinitionInferenceAcceleratorsDetails) -> bool
fn eq(&self, other: &AwsEcsTaskDefinitionInferenceAcceleratorsDetails) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
Auto Trait Implementations
impl RefUnwindSafe for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
impl Send for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
impl Sync for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
impl Unpin for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
impl UnwindSafe for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
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