pub struct GrpcRouteMethodMatch {
pub case_sensitive: Option<bool>,
pub grpc_method: Option<String>,
pub grpc_service: Option<String>,
pub type_: Option<String>,
}Expand description
Specifies a match against a method.
This type is not used in any activity, and only used as part of another schema.
Fields§
§case_sensitive: Option<bool>Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be used with a type of REGULAR_EXPRESSION.
grpc_method: Option<String>Required. Name of the method to match against. If unspecified, will match all methods.
grpc_service: Option<String>Required. Name of the service to match against. If unspecified, will match all services.
type_: Option<String>Optional. Specifies how to match against the name. If not specified, a default value of “EXACT” is used.
Trait Implementations§
Source§impl Clone for GrpcRouteMethodMatch
impl Clone for GrpcRouteMethodMatch
Source§fn clone(&self) -> GrpcRouteMethodMatch
fn clone(&self) -> GrpcRouteMethodMatch
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 GrpcRouteMethodMatch
impl Debug for GrpcRouteMethodMatch
Source§impl Default for GrpcRouteMethodMatch
impl Default for GrpcRouteMethodMatch
Source§fn default() -> GrpcRouteMethodMatch
fn default() -> GrpcRouteMethodMatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GrpcRouteMethodMatch
impl<'de> Deserialize<'de> for GrpcRouteMethodMatch
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 Serialize for GrpcRouteMethodMatch
impl Serialize for GrpcRouteMethodMatch
impl Part for GrpcRouteMethodMatch
Auto Trait Implementations§
impl Freeze for GrpcRouteMethodMatch
impl RefUnwindSafe for GrpcRouteMethodMatch
impl Send for GrpcRouteMethodMatch
impl Sync for GrpcRouteMethodMatch
impl Unpin for GrpcRouteMethodMatch
impl UnwindSafe for GrpcRouteMethodMatch
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