#[non_exhaustive]pub struct AwsEcsServicePlacementConstraintsDetails { /* private fields */ }
Expand description
A placement constraint for the tasks in the service.
Implementations§
source§impl AwsEcsServicePlacementConstraintsDetails
impl AwsEcsServicePlacementConstraintsDetails
sourcepub fn expression(&self) -> Option<&str>
pub fn expression(&self) -> Option<&str>
A cluster query language expression to apply to the constraint. You cannot specify an expression if the constraint type is distinctInstance
.
source§impl AwsEcsServicePlacementConstraintsDetails
impl AwsEcsServicePlacementConstraintsDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEcsServicePlacementConstraintsDetails
.
Trait Implementations§
source§impl Clone for AwsEcsServicePlacementConstraintsDetails
impl Clone for AwsEcsServicePlacementConstraintsDetails
source§fn clone(&self) -> AwsEcsServicePlacementConstraintsDetails
fn clone(&self) -> AwsEcsServicePlacementConstraintsDetails
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 PartialEq<AwsEcsServicePlacementConstraintsDetails> for AwsEcsServicePlacementConstraintsDetails
impl PartialEq<AwsEcsServicePlacementConstraintsDetails> for AwsEcsServicePlacementConstraintsDetails
source§fn eq(&self, other: &AwsEcsServicePlacementConstraintsDetails) -> bool
fn eq(&self, other: &AwsEcsServicePlacementConstraintsDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.