pub struct AwsEcsTaskDefinitionInferenceAcceleratorsDetails {
pub device_name: Option<String>,
pub device_type: Option<String>,
}Expand description
An Elastic Inference accelerator to use for the containers in the task.
Fields§
§device_name: Option<String>The Elastic Inference accelerator device name.
device_type: Option<String>The Elastic Inference accelerator type to use.
Trait Implementations§
Source§impl Clone for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
impl Clone for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
Source§fn clone(&self) -> AwsEcsTaskDefinitionInferenceAcceleratorsDetails
fn clone(&self) -> AwsEcsTaskDefinitionInferenceAcceleratorsDetails
Returns a duplicate 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 Default for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
impl Default for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
Source§fn default() -> AwsEcsTaskDefinitionInferenceAcceleratorsDetails
fn default() -> AwsEcsTaskDefinitionInferenceAcceleratorsDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
impl<'de> Deserialize<'de> for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
impl PartialEq for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
Source§fn eq(&self, other: &AwsEcsTaskDefinitionInferenceAcceleratorsDetails) -> bool
fn eq(&self, other: &AwsEcsTaskDefinitionInferenceAcceleratorsDetails) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
Auto Trait Implementations§
impl Freeze for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
impl RefUnwindSafe for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
impl Send for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
impl Sync for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
impl Unpin for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
impl UnwindSafe for AwsEcsTaskDefinitionInferenceAcceleratorsDetails
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