pub struct HttpQueryParameterMatch {
pub exact_match: Option<String>,
pub name: Option<String>,
pub present_match: Option<bool>,
pub regex_match: Option<String>,
}
Expand description
HttpRouteRuleMatch criteria for a request’s query parameter.
This type is not used in any activity, and only used as part of another schema.
Fields§
§exact_match: Option<String>
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
name: Option<String>
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
present_match: Option<bool>
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
regex_match: Option<String>
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
Trait Implementations§
Source§impl Clone for HttpQueryParameterMatch
impl Clone for HttpQueryParameterMatch
Source§fn clone(&self) -> HttpQueryParameterMatch
fn clone(&self) -> HttpQueryParameterMatch
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for HttpQueryParameterMatch
impl Debug for HttpQueryParameterMatch
Source§impl Default for HttpQueryParameterMatch
impl Default for HttpQueryParameterMatch
Source§fn default() -> HttpQueryParameterMatch
fn default() -> HttpQueryParameterMatch
Source§impl<'de> Deserialize<'de> for HttpQueryParameterMatch
impl<'de> Deserialize<'de> for HttpQueryParameterMatch
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>,
Source§impl Serialize for HttpQueryParameterMatch
impl Serialize for HttpQueryParameterMatch
impl Part for HttpQueryParameterMatch
Auto Trait Implementations§
impl Freeze for HttpQueryParameterMatch
impl RefUnwindSafe for HttpQueryParameterMatch
impl Send for HttpQueryParameterMatch
impl Sync for HttpQueryParameterMatch
impl Unpin for HttpQueryParameterMatch
impl UnwindSafe for HttpQueryParameterMatch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more