Struct aws_sdk_s3::types::AnalyticsAndOperator
source · #[non_exhaustive]pub struct AnalyticsAndOperator {
pub prefix: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates in any combination, and an object must match all of the predicates for the filter to apply.
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.prefix: Option<String>
The prefix to use when evaluating an AND predicate: The prefix that an object must have to be included in the metrics results.
The list of tags to use when evaluating an AND predicate.
Implementations§
source§impl AnalyticsAndOperator
impl AnalyticsAndOperator
sourcepub fn prefix(&self) -> Option<&str>
pub fn prefix(&self) -> Option<&str>
The prefix to use when evaluating an AND predicate: The prefix that an object must have to be included in the metrics results.
The list of tags to use when evaluating an AND predicate.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl AnalyticsAndOperator
impl AnalyticsAndOperator
sourcepub fn builder() -> AnalyticsAndOperatorBuilder
pub fn builder() -> AnalyticsAndOperatorBuilder
Creates a new builder-style object to manufacture AnalyticsAndOperator
.
Trait Implementations§
source§impl Clone for AnalyticsAndOperator
impl Clone for AnalyticsAndOperator
source§fn clone(&self) -> AnalyticsAndOperator
fn clone(&self) -> AnalyticsAndOperator
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AnalyticsAndOperator
impl Debug for AnalyticsAndOperator
source§impl PartialEq for AnalyticsAndOperator
impl PartialEq for AnalyticsAndOperator
impl StructuralPartialEq for AnalyticsAndOperator
Auto Trait Implementations§
impl Freeze for AnalyticsAndOperator
impl RefUnwindSafe for AnalyticsAndOperator
impl Send for AnalyticsAndOperator
impl Sync for AnalyticsAndOperator
impl Unpin for AnalyticsAndOperator
impl UnwindSafe for AnalyticsAndOperator
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)