#[non_exhaustive]pub struct PathPatternConditionConfig { /* private fields */ }
Expand description
Information about a path pattern condition.
Implementations
sourceimpl PathPatternConditionConfig
impl PathPatternConditionConfig
sourcepub fn values(&self) -> Option<&[String]>
pub fn values(&self) -> Option<&[String]>
One or more 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
.
sourceimpl PathPatternConditionConfig
impl PathPatternConditionConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PathPatternConditionConfig
.
Trait Implementations
sourceimpl Clone for PathPatternConditionConfig
impl Clone for PathPatternConditionConfig
sourcefn clone(&self) -> PathPatternConditionConfig
fn clone(&self) -> PathPatternConditionConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PathPatternConditionConfig
impl Debug for PathPatternConditionConfig
sourceimpl PartialEq<PathPatternConditionConfig> for PathPatternConditionConfig
impl PartialEq<PathPatternConditionConfig> for PathPatternConditionConfig
sourcefn eq(&self, other: &PathPatternConditionConfig) -> bool
fn eq(&self, other: &PathPatternConditionConfig) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more