#[non_exhaustive]pub struct QueryStringConditionConfigBuilder { /* private fields */ }
Expand description
A builder for QueryStringConditionConfig
.
Implementations§
source§impl QueryStringConditionConfigBuilder
impl QueryStringConditionConfigBuilder
sourcepub fn values(self, input: QueryStringKeyValuePair) -> Self
pub fn values(self, input: QueryStringKeyValuePair) -> Self
Appends an item to values
.
To override the contents of this collection use set_values
.
The key/value pairs or values to find in the query string. The maximum size of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in Values
using a '\' character.
If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.
sourcepub fn set_values(self, input: Option<Vec<QueryStringKeyValuePair>>) -> Self
pub fn set_values(self, input: Option<Vec<QueryStringKeyValuePair>>) -> Self
The key/value pairs or values to find in the query string. The maximum size of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in Values
using a '\' character.
If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.
sourcepub fn get_values(&self) -> &Option<Vec<QueryStringKeyValuePair>>
pub fn get_values(&self) -> &Option<Vec<QueryStringKeyValuePair>>
The key/value pairs or values to find in the query string. The maximum size of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in Values
using a '\' character.
If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.
sourcepub fn build(self) -> QueryStringConditionConfig
pub fn build(self) -> QueryStringConditionConfig
Consumes the builder and constructs a QueryStringConditionConfig
.
Trait Implementations§
source§impl Clone for QueryStringConditionConfigBuilder
impl Clone for QueryStringConditionConfigBuilder
source§fn clone(&self) -> QueryStringConditionConfigBuilder
fn clone(&self) -> QueryStringConditionConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for QueryStringConditionConfigBuilder
impl Default for QueryStringConditionConfigBuilder
source§fn default() -> QueryStringConditionConfigBuilder
fn default() -> QueryStringConditionConfigBuilder
source§impl PartialEq for QueryStringConditionConfigBuilder
impl PartialEq for QueryStringConditionConfigBuilder
source§fn eq(&self, other: &QueryStringConditionConfigBuilder) -> bool
fn eq(&self, other: &QueryStringConditionConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for QueryStringConditionConfigBuilder
Auto Trait Implementations§
impl Freeze for QueryStringConditionConfigBuilder
impl RefUnwindSafe for QueryStringConditionConfigBuilder
impl Send for QueryStringConditionConfigBuilder
impl Sync for QueryStringConditionConfigBuilder
impl Unpin for QueryStringConditionConfigBuilder
impl UnwindSafe for QueryStringConditionConfigBuilder
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> 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