pub struct GrpcRouteMatch {
pub metadata: Option<Vec<GrpcRouteMetadata>>,
pub method_name: Option<String>,
pub service_name: Option<String>,
}
Expand description
An object that represents the criteria for determining a request match.
Fields§
§metadata: Option<Vec<GrpcRouteMetadata>>
An object that represents the data 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
.
service_name: Option<String>
The fully qualified domain name for the service to match from the request.
Trait Implementations§
Source§impl Clone for GrpcRouteMatch
impl Clone for GrpcRouteMatch
Source§fn clone(&self) -> GrpcRouteMatch
fn clone(&self) -> GrpcRouteMatch
Returns a duplicate 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 Default for GrpcRouteMatch
impl Default for GrpcRouteMatch
Source§fn default() -> GrpcRouteMatch
fn default() -> GrpcRouteMatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GrpcRouteMatch
impl<'de> Deserialize<'de> for GrpcRouteMatch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GrpcRouteMatch
impl PartialEq for GrpcRouteMatch
Source§impl Serialize for GrpcRouteMatch
impl Serialize for GrpcRouteMatch
impl StructuralPartialEq for GrpcRouteMatch
Auto Trait Implementations§
impl Freeze for GrpcRouteMatch
impl RefUnwindSafe for GrpcRouteMatch
impl Send for GrpcRouteMatch
impl Sync for GrpcRouteMatch
impl Unpin for GrpcRouteMatch
impl UnwindSafe for GrpcRouteMatch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more