pub struct GrpcMetadataMatchMethod {
pub exact: Option<String>,
pub prefix: Option<String>,
pub range: Option<MatchRange>,
pub regex: Option<String>,
pub suffix: Option<String>,
}
Expand description
An object representing the method header to be matched.
Fields§
§exact: Option<String>
The exact method header to be matched on.
prefix: Option<String>
The specified beginning characters of the method header to be matched on.
range: Option<MatchRange>
§regex: Option<String>
The regex used to match the method header.
suffix: Option<String>
The specified ending characters of the method header to match on.
Trait Implementations§
Source§impl Clone for GrpcMetadataMatchMethod
impl Clone for GrpcMetadataMatchMethod
Source§fn clone(&self) -> GrpcMetadataMatchMethod
fn clone(&self) -> GrpcMetadataMatchMethod
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 GrpcMetadataMatchMethod
impl Debug for GrpcMetadataMatchMethod
Source§impl Default for GrpcMetadataMatchMethod
impl Default for GrpcMetadataMatchMethod
Source§fn default() -> GrpcMetadataMatchMethod
fn default() -> GrpcMetadataMatchMethod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GrpcMetadataMatchMethod
impl<'de> Deserialize<'de> for GrpcMetadataMatchMethod
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 GrpcMetadataMatchMethod
impl PartialEq for GrpcMetadataMatchMethod
Source§impl Serialize for GrpcMetadataMatchMethod
impl Serialize for GrpcMetadataMatchMethod
impl StructuralPartialEq for GrpcMetadataMatchMethod
Auto Trait Implementations§
impl Freeze for GrpcMetadataMatchMethod
impl RefUnwindSafe for GrpcMetadataMatchMethod
impl Send for GrpcMetadataMatchMethod
impl Sync for GrpcMetadataMatchMethod
impl Unpin for GrpcMetadataMatchMethod
impl UnwindSafe for GrpcMetadataMatchMethod
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