Struct aws_sdk_wafv2::types::LabelNameCondition
source · #[non_exhaustive]pub struct LabelNameCondition {
pub label_name: String,
}
Expand description
A single label name condition for a Condition
in a logging filter.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.label_name: String
The label name that a log record must contain in order to meet the condition. This must be a fully qualified label name. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.
Implementations§
source§impl LabelNameCondition
impl LabelNameCondition
sourcepub fn label_name(&self) -> &str
pub fn label_name(&self) -> &str
The label name that a log record must contain in order to meet the condition. This must be a fully qualified label name. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.
source§impl LabelNameCondition
impl LabelNameCondition
sourcepub fn builder() -> LabelNameConditionBuilder
pub fn builder() -> LabelNameConditionBuilder
Creates a new builder-style object to manufacture LabelNameCondition
.
Trait Implementations§
source§impl Clone for LabelNameCondition
impl Clone for LabelNameCondition
source§fn clone(&self) -> LabelNameCondition
fn clone(&self) -> LabelNameCondition
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 LabelNameCondition
impl Debug for LabelNameCondition
source§impl PartialEq for LabelNameCondition
impl PartialEq for LabelNameCondition
source§fn eq(&self, other: &LabelNameCondition) -> bool
fn eq(&self, other: &LabelNameCondition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LabelNameCondition
Auto Trait Implementations§
impl RefUnwindSafe for LabelNameCondition
impl Send for LabelNameCondition
impl Sync for LabelNameCondition
impl Unpin for LabelNameCondition
impl UnwindSafe for LabelNameCondition
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
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>
Creates a shared type from an unshared type.