Struct aws_sdk_appmesh::model::TcpRouteAction
source · #[non_exhaustive]pub struct TcpRouteAction { /* private fields */ }
Expand description
An object that represents the action to take if a match is determined.
Implementations§
source§impl TcpRouteAction
impl TcpRouteAction
sourcepub fn weighted_targets(&self) -> Option<&[WeightedTarget]>
pub fn weighted_targets(&self) -> Option<&[WeightedTarget]>
An object that represents the targets that traffic is routed to when a request matches the route.
source§impl TcpRouteAction
impl TcpRouteAction
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TcpRouteAction
.
Trait Implementations§
source§impl Clone for TcpRouteAction
impl Clone for TcpRouteAction
source§fn clone(&self) -> TcpRouteAction
fn clone(&self) -> TcpRouteAction
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 more