Struct aws_sdk_batch::types::EcsProperties
source · #[non_exhaustive]pub struct EcsProperties {
pub task_properties: Option<Vec<EcsTaskProperties>>,
}
Expand description
An object that contains the properties for the Amazon ECS resources of a job.
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.task_properties: Option<Vec<EcsTaskProperties>>
An object that contains the properties for the Amazon ECS task definition of a job.
This object is currently limited to one element.
Implementations§
source§impl EcsProperties
impl EcsProperties
sourcepub fn task_properties(&self) -> &[EcsTaskProperties]
pub fn task_properties(&self) -> &[EcsTaskProperties]
An object that contains the properties for the Amazon ECS task definition of a job.
This object is currently limited to one element.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .task_properties.is_none()
.
source§impl EcsProperties
impl EcsProperties
sourcepub fn builder() -> EcsPropertiesBuilder
pub fn builder() -> EcsPropertiesBuilder
Creates a new builder-style object to manufacture EcsProperties
.
Trait Implementations§
source§impl Clone for EcsProperties
impl Clone for EcsProperties
source§fn clone(&self) -> EcsProperties
fn clone(&self) -> EcsProperties
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 EcsProperties
impl Debug for EcsProperties
source§impl PartialEq for EcsProperties
impl PartialEq for EcsProperties
source§fn eq(&self, other: &EcsProperties) -> bool
fn eq(&self, other: &EcsProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EcsProperties
Auto Trait Implementations§
impl Freeze for EcsProperties
impl RefUnwindSafe for EcsProperties
impl Send for EcsProperties
impl Sync for EcsProperties
impl Unpin for EcsProperties
impl UnwindSafe for EcsProperties
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> 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>
Creates a shared type from an unshared type.