Struct aws_sdk_appmesh::model::GrpcGatewayRouteAction
source · [−]#[non_exhaustive]pub struct GrpcGatewayRouteAction {
pub target: Option<GatewayRouteTarget>,
pub rewrite: Option<GrpcGatewayRouteRewrite>,
}
Expand description
An object that represents the action to take if a match is determined.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.target: Option<GatewayRouteTarget>
An object that represents the target that traffic is routed to when a request matches the gateway route.
rewrite: Option<GrpcGatewayRouteRewrite>
The gateway route action to rewrite.
Implementations
An object that represents the target that traffic is routed to when a request matches the gateway route.
The gateway route action to rewrite.
Creates a new builder-style object to manufacture GrpcGatewayRouteAction
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GrpcGatewayRouteAction
impl Send for GrpcGatewayRouteAction
impl Sync for GrpcGatewayRouteAction
impl Unpin for GrpcGatewayRouteAction
impl UnwindSafe for GrpcGatewayRouteAction
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more