Struct aws_sdk_appmesh::model::GrpcRouteMatch
source · [−]#[non_exhaustive]pub struct GrpcRouteMatch {
pub service_name: Option<String>,
pub method_name: Option<String>,
pub metadata: Option<Vec<GrpcRouteMetadata>>,
}
Expand description
An object that represents the criteria for determining a request match.
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.service_name: Option<String>
The fully qualified domain name for the service to match from the request.
method_name: Option<String>
The method name to match from the request. If you specify a name, you must also specify a serviceName
.
metadata: Option<Vec<GrpcRouteMetadata>>
An object that represents the data to match from the request.
Implementations
The fully qualified domain name for the service to match from the request.
The method name to match from the request. If you specify a name, you must also specify a serviceName
.
Creates a new builder-style object to manufacture GrpcRouteMatch
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 GrpcRouteMatch
impl Send for GrpcRouteMatch
impl Sync for GrpcRouteMatch
impl Unpin for GrpcRouteMatch
impl UnwindSafe for GrpcRouteMatch
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