Struct aws_sdk_appmesh::model::GrpcRouteMatch
source · #[non_exhaustive]pub struct GrpcRouteMatch { /* private fields */ }
Expand description
An object that represents the criteria for determining a request match.
Implementations§
source§impl GrpcRouteMatch
impl GrpcRouteMatch
sourcepub fn service_name(&self) -> Option<&str>
pub fn service_name(&self) -> Option<&str>
The fully qualified domain name for the service to match from the request.
sourcepub fn method_name(&self) -> Option<&str>
pub fn method_name(&self) -> Option<&str>
The method name to match from the request. If you specify a name, you must also specify a serviceName
.
sourcepub fn metadata(&self) -> Option<&[GrpcRouteMetadata]>
pub fn metadata(&self) -> Option<&[GrpcRouteMetadata]>
An object that represents the data to match from the request.
source§impl GrpcRouteMatch
impl GrpcRouteMatch
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GrpcRouteMatch
.
Trait Implementations§
source§impl Clone for GrpcRouteMatch
impl Clone for GrpcRouteMatch
source§fn clone(&self) -> GrpcRouteMatch
fn clone(&self) -> GrpcRouteMatch
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 Debug for GrpcRouteMatch
impl Debug for GrpcRouteMatch
source§impl PartialEq<GrpcRouteMatch> for GrpcRouteMatch
impl PartialEq<GrpcRouteMatch> for GrpcRouteMatch
source§fn eq(&self, other: &GrpcRouteMatch) -> bool
fn eq(&self, other: &GrpcRouteMatch) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.