Struct aws_sdk_wafv2::model::CookieMatchPattern  
source · [−]#[non_exhaustive]pub struct CookieMatchPattern {
    pub all: Option<All>,
    pub included_cookies: Option<Vec<String>>,
    pub excluded_cookies: Option<Vec<String>>,
}Expand description
The filter to use to identify the subset of cookies to inspect in a web request.
You must specify exactly one setting: either All, IncludedCookies, or ExcludedCookies.
Example JSON: "CookieMatchPattern": { "IncludedCookies": {"KeyToInclude1", "KeyToInclude2", "KeyToInclude3"} } 
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.all: Option<All>Inspect all cookies.
Inspect only the cookies that have a key that matches one of the strings specified here.
Inspect only the cookies whose keys don't match any of the strings specified here.
Implementations
sourceimpl CookieMatchPattern
 
impl CookieMatchPattern
sourcepub fn builder() -> Builder
 
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CookieMatchPattern
Trait Implementations
sourceimpl Clone for CookieMatchPattern
 
impl Clone for CookieMatchPattern
sourcefn clone(&self) -> CookieMatchPattern
 
fn clone(&self) -> CookieMatchPattern
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 more
sourceimpl Debug for CookieMatchPattern
 
impl Debug for CookieMatchPattern
sourceimpl PartialEq<CookieMatchPattern> for CookieMatchPattern
 
impl PartialEq<CookieMatchPattern> for CookieMatchPattern
sourcefn eq(&self, other: &CookieMatchPattern) -> bool
 
fn eq(&self, other: &CookieMatchPattern) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CookieMatchPattern) -> bool
 
fn ne(&self, other: &CookieMatchPattern) -> bool
This method tests for !=.
impl StructuralPartialEq for CookieMatchPattern
Auto Trait Implementations
impl RefUnwindSafe for CookieMatchPattern
impl Send for CookieMatchPattern
impl Sync for CookieMatchPattern
impl Unpin for CookieMatchPattern
impl UnwindSafe for CookieMatchPattern
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    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
sourceimpl<T> Instrument for T
 
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
 
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, 
 
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, 
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
 
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more