Struct aws_sdk_ecs::types::InferenceAcceleratorOverride  
source · #[non_exhaustive]pub struct InferenceAcceleratorOverride {
    pub device_name: Option<String>,
    pub device_type: Option<String>,
}Expand description
Details on an Elastic Inference accelerator task override. This parameter is used to override the Elastic Inference accelerator specified in the task definition. For more information, see Working with Amazon Elastic Inference on Amazon ECS in the Amazon Elastic Container Service Developer Guide.
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.device_name: Option<String>The Elastic Inference accelerator device name to override for the task. This parameter must match a deviceName specified in the task definition.
device_type: Option<String>The Elastic Inference accelerator type to use.
Implementations§
source§impl InferenceAcceleratorOverride
 
impl InferenceAcceleratorOverride
sourcepub fn device_name(&self) -> Option<&str>
 
pub fn device_name(&self) -> Option<&str>
The Elastic Inference accelerator device name to override for the task. This parameter must match a deviceName specified in the task definition.
sourcepub fn device_type(&self) -> Option<&str>
 
pub fn device_type(&self) -> Option<&str>
The Elastic Inference accelerator type to use.
source§impl InferenceAcceleratorOverride
 
impl InferenceAcceleratorOverride
sourcepub fn builder() -> InferenceAcceleratorOverrideBuilder
 
pub fn builder() -> InferenceAcceleratorOverrideBuilder
Creates a new builder-style object to manufacture InferenceAcceleratorOverride.
Trait Implementations§
source§impl Clone for InferenceAcceleratorOverride
 
impl Clone for InferenceAcceleratorOverride
source§fn clone(&self) -> InferenceAcceleratorOverride
 
fn clone(&self) -> InferenceAcceleratorOverride
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for InferenceAcceleratorOverride
 
impl Debug for InferenceAcceleratorOverride
source§impl PartialEq for InferenceAcceleratorOverride
 
impl PartialEq for InferenceAcceleratorOverride
source§fn eq(&self, other: &InferenceAcceleratorOverride) -> bool
 
fn eq(&self, other: &InferenceAcceleratorOverride) -> bool
self and other values to be equal, and is used
by ==.