#[non_exhaustive]pub struct PathPatternConditionConfig { /* private fields */ }Expand description
Information about a path pattern condition.
Implementations§
source§impl PathPatternConditionConfig
impl PathPatternConditionConfig
sourcepub fn values(&self) -> Option<&[String]>
pub fn values(&self) -> Option<&[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.
source§impl PathPatternConditionConfig
impl PathPatternConditionConfig
sourcepub fn builder() -> PathPatternConditionConfigBuilder
pub fn builder() -> PathPatternConditionConfigBuilder
Creates a new builder-style object to manufacture PathPatternConditionConfig.
Trait Implementations§
source§impl Clone for PathPatternConditionConfig
impl Clone for PathPatternConditionConfig
source§fn clone(&self) -> PathPatternConditionConfig
fn clone(&self) -> PathPatternConditionConfig
Returns a copy 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 PathPatternConditionConfig
impl Debug for PathPatternConditionConfig
source§impl PartialEq<PathPatternConditionConfig> for PathPatternConditionConfig
impl PartialEq<PathPatternConditionConfig> for PathPatternConditionConfig
source§fn eq(&self, other: &PathPatternConditionConfig) -> bool
fn eq(&self, other: &PathPatternConditionConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PathPatternConditionConfig
Auto Trait Implementations§
impl RefUnwindSafe for PathPatternConditionConfig
impl Send for PathPatternConditionConfig
impl Sync for PathPatternConditionConfig
impl Unpin for PathPatternConditionConfig
impl UnwindSafe for PathPatternConditionConfig
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