pub struct TaskDefinition {Show 26 fields
pub family: String,
pub revision: i32,
pub task_definition_arn: String,
pub container_definitions: Vec<Value>,
pub status: String,
pub task_role_arn: Option<String>,
pub execution_role_arn: Option<String>,
pub network_mode: Option<String>,
pub requires_compatibilities: Vec<String>,
pub compatibilities: Vec<String>,
pub cpu: Option<String>,
pub memory: Option<String>,
pub pid_mode: Option<String>,
pub ipc_mode: Option<String>,
pub volumes: Vec<Value>,
pub placement_constraints: Vec<Value>,
pub proxy_configuration: Option<Value>,
pub inference_accelerators: Vec<Value>,
pub ephemeral_storage: Option<Value>,
pub runtime_platform: Option<Value>,
pub requires_attributes: Vec<Value>,
pub registered_at: DateTime<Utc>,
pub registered_by: Option<String>,
pub deregistered_at: Option<DateTime<Utc>>,
pub tags: Vec<TagEntry>,
pub enable_fault_injection: Option<bool>,
}Fields§
§family: String§revision: i32§task_definition_arn: String§container_definitions: Vec<Value>Free-form container definitions preserved as the JSON the caller supplied. ECS accepts so many optional fields that round-tripping the raw JSON is simpler and more faithful than modeling a struct with hundreds of members per container.
status: String§task_role_arn: Option<String>§execution_role_arn: Option<String>§network_mode: Option<String>§requires_compatibilities: Vec<String>§compatibilities: Vec<String>§cpu: Option<String>§memory: Option<String>§pid_mode: Option<String>§ipc_mode: Option<String>§volumes: Vec<Value>§placement_constraints: Vec<Value>§proxy_configuration: Option<Value>§inference_accelerators: Vec<Value>§ephemeral_storage: Option<Value>§runtime_platform: Option<Value>§requires_attributes: Vec<Value>§registered_at: DateTime<Utc>§registered_by: Option<String>§deregistered_at: Option<DateTime<Utc>>§enable_fault_injection: Option<bool>Trait Implementations§
Source§impl Clone for TaskDefinition
impl Clone for TaskDefinition
Source§fn clone(&self) -> TaskDefinition
fn clone(&self) -> TaskDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TaskDefinition
impl Debug for TaskDefinition
Source§impl<'de> Deserialize<'de> for TaskDefinition
impl<'de> Deserialize<'de> for TaskDefinition
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
Auto Trait Implementations§
impl Freeze for TaskDefinition
impl RefUnwindSafe for TaskDefinition
impl Send for TaskDefinition
impl Sync for TaskDefinition
impl Unpin for TaskDefinition
impl UnsafeUnpin for TaskDefinition
impl UnwindSafe for TaskDefinition
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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>
Converts
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>
Converts
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