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