Struct aws_sdk_ssm::types::OpsItemEventFilter
source · #[non_exhaustive]pub struct OpsItemEventFilter {
pub key: OpsItemEventFilterKey,
pub values: Vec<String>,
pub operator: OpsItemEventFilterOperator,
}
Expand description
Describes a filter for a specific list of OpsItem events. You can filter event information by using tags. You specify tags by using a key-value pair mapping.
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.key: OpsItemEventFilterKey
The name of the filter key. Currently, the only supported value is OpsItemId
.
values: Vec<String>
The values for the filter, consisting of one or more OpsItem IDs.
operator: OpsItemEventFilterOperator
The operator used by the filter call. Currently, the only supported value is Equal
.
Implementations§
source§impl OpsItemEventFilter
impl OpsItemEventFilter
sourcepub fn key(&self) -> &OpsItemEventFilterKey
pub fn key(&self) -> &OpsItemEventFilterKey
The name of the filter key. Currently, the only supported value is OpsItemId
.
sourcepub fn values(&self) -> &[String]
pub fn values(&self) -> &[String]
The values for the filter, consisting of one or more OpsItem IDs.
sourcepub fn operator(&self) -> &OpsItemEventFilterOperator
pub fn operator(&self) -> &OpsItemEventFilterOperator
The operator used by the filter call. Currently, the only supported value is Equal
.
source§impl OpsItemEventFilter
impl OpsItemEventFilter
sourcepub fn builder() -> OpsItemEventFilterBuilder
pub fn builder() -> OpsItemEventFilterBuilder
Creates a new builder-style object to manufacture OpsItemEventFilter
.
Trait Implementations§
source§impl Clone for OpsItemEventFilter
impl Clone for OpsItemEventFilter
source§fn clone(&self) -> OpsItemEventFilter
fn clone(&self) -> OpsItemEventFilter
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 OpsItemEventFilter
impl Debug for OpsItemEventFilter
source§impl PartialEq for OpsItemEventFilter
impl PartialEq for OpsItemEventFilter
source§fn eq(&self, other: &OpsItemEventFilter) -> bool
fn eq(&self, other: &OpsItemEventFilter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OpsItemEventFilter
Auto Trait Implementations§
impl Freeze for OpsItemEventFilter
impl RefUnwindSafe for OpsItemEventFilter
impl Send for OpsItemEventFilter
impl Sync for OpsItemEventFilter
impl Unpin for OpsItemEventFilter
impl UnwindSafe for OpsItemEventFilter
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.