#[non_exhaustive]pub struct PathPatternConditionConfigBuilder { /* private fields */ }Expand description
A builder for PathPatternConditionConfig.
Implementations§
source§impl PathPatternConditionConfigBuilder
 
impl PathPatternConditionConfigBuilder
sourcepub fn values(self, input: impl Into<String>) -> Self
 
pub fn values(self, input: impl Into<String>) -> Self
Appends an item to values.
To override the contents of this collection use set_values.
The path patterns to compare against the request URL. The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use QueryStringConditionConfig.
sourcepub fn set_values(self, input: Option<Vec<String>>) -> Self
 
pub fn set_values(self, input: Option<Vec<String>>) -> Self
The path patterns to compare against the request URL. The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use QueryStringConditionConfig.
sourcepub fn get_values(&self) -> &Option<Vec<String>>
 
pub fn get_values(&self) -> &Option<Vec<String>>
The path patterns to compare against the request URL. The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use QueryStringConditionConfig.
sourcepub fn build(self) -> PathPatternConditionConfig
 
pub fn build(self) -> PathPatternConditionConfig
Consumes the builder and constructs a PathPatternConditionConfig.
Trait Implementations§
source§impl Clone for PathPatternConditionConfigBuilder
 
impl Clone for PathPatternConditionConfigBuilder
source§fn clone(&self) -> PathPatternConditionConfigBuilder
 
fn clone(&self) -> PathPatternConditionConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PathPatternConditionConfigBuilder
 
impl Default for PathPatternConditionConfigBuilder
source§fn default() -> PathPatternConditionConfigBuilder
 
fn default() -> PathPatternConditionConfigBuilder
source§impl PartialEq for PathPatternConditionConfigBuilder
 
impl PartialEq for PathPatternConditionConfigBuilder
source§fn eq(&self, other: &PathPatternConditionConfigBuilder) -> bool
 
fn eq(&self, other: &PathPatternConditionConfigBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PathPatternConditionConfigBuilder
Auto Trait Implementations§
impl Freeze for PathPatternConditionConfigBuilder
impl RefUnwindSafe for PathPatternConditionConfigBuilder
impl Send for PathPatternConditionConfigBuilder
impl Sync for PathPatternConditionConfigBuilder
impl Unpin for PathPatternConditionConfigBuilder
impl UnwindSafe for PathPatternConditionConfigBuilder
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