pub struct GrpcRouteHeaderMatch {
pub key: Option<String>,
pub type_: Option<String>,
pub value: Option<String>,
}Expand description
A match against a collection of headers.
This type is not used in any activity, and only used as part of another schema.
Fields§
§key: Option<String>Required. The key of the header.
type_: Option<String>Optional. Specifies how to match against the value of the header. If not specified, a default value of EXACT is used.
value: Option<String>Required. The value of the header.
Trait Implementations§
Source§impl Clone for GrpcRouteHeaderMatch
impl Clone for GrpcRouteHeaderMatch
Source§fn clone(&self) -> GrpcRouteHeaderMatch
fn clone(&self) -> GrpcRouteHeaderMatch
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 GrpcRouteHeaderMatch
impl Debug for GrpcRouteHeaderMatch
Source§impl Default for GrpcRouteHeaderMatch
impl Default for GrpcRouteHeaderMatch
Source§fn default() -> GrpcRouteHeaderMatch
fn default() -> GrpcRouteHeaderMatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GrpcRouteHeaderMatch
impl<'de> Deserialize<'de> for GrpcRouteHeaderMatch
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 GrpcRouteHeaderMatch
impl Serialize for GrpcRouteHeaderMatch
impl Part for GrpcRouteHeaderMatch
Auto Trait Implementations§
impl Freeze for GrpcRouteHeaderMatch
impl RefUnwindSafe for GrpcRouteHeaderMatch
impl Send for GrpcRouteHeaderMatch
impl Sync for GrpcRouteHeaderMatch
impl Unpin for GrpcRouteHeaderMatch
impl UnwindSafe for GrpcRouteHeaderMatch
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