Struct google_compute1::api::HttpQueryParameterMatch[][src]

pub struct HttpQueryParameterMatch {
    pub exact_match: Option<String>,
    pub name: Option<String>,
    pub present_match: Option<bool>,
    pub regex_match: Option<String>,
}

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 the regular expression grammar, please see github.com/google/re2/wiki/Syntax Only one of presentMatch, exactMatch or regexMatch must be set. Note that regexMatch only applies when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.

Trait Implementations

impl Clone for HttpQueryParameterMatch[src]

impl Debug for HttpQueryParameterMatch[src]

impl Default for HttpQueryParameterMatch[src]

impl<'de> Deserialize<'de> for HttpQueryParameterMatch[src]

impl Part for HttpQueryParameterMatch[src]

impl Serialize for HttpQueryParameterMatch[src]

Auto Trait Implementations

impl RefUnwindSafe for HttpQueryParameterMatch[src]

impl Send for HttpQueryParameterMatch[src]

impl Sync for HttpQueryParameterMatch[src]

impl Unpin for HttpQueryParameterMatch[src]

impl UnwindSafe for HttpQueryParameterMatch[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.