Struct aws_sdk_elasticbeanstalk::types::SearchFilter
source · #[non_exhaustive]pub struct SearchFilter {
pub attribute: Option<String>,
pub operator: Option<String>,
pub values: Option<Vec<String>>,
}
Expand description
Describes criteria to restrict a list of results.
For operators that apply a single value to the attribute, the filter is evaluated as follows: Attribute Operator Values[1]
Some operators, e.g. in
, can apply multiple values. In this case, the filter is evaluated as a logical union (OR) of applications of the operator to the attribute with each one of the values: (Attribute Operator Values[1]) OR (Attribute Operator Values[2]) OR ...
The valid values for attributes of SearchFilter
depend on the API action. For valid values, see the reference page for the API action you're calling that takes a SearchFilter
parameter.
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.attribute: Option<String>
The result attribute to which the filter values are applied. Valid values vary by API action.
operator: Option<String>
The operator to apply to the Attribute
with each of the Values
. Valid values vary by Attribute
.
values: Option<Vec<String>>
The list of values applied to the Attribute
and Operator
attributes. Number of values and valid values vary by Attribute
.
Implementations§
source§impl SearchFilter
impl SearchFilter
source§impl SearchFilter
impl SearchFilter
sourcepub fn builder() -> SearchFilterBuilder
pub fn builder() -> SearchFilterBuilder
Creates a new builder-style object to manufacture SearchFilter
.
Trait Implementations§
source§impl Clone for SearchFilter
impl Clone for SearchFilter
source§fn clone(&self) -> SearchFilter
fn clone(&self) -> SearchFilter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchFilter
impl Debug for SearchFilter
source§impl PartialEq for SearchFilter
impl PartialEq for SearchFilter
source§fn eq(&self, other: &SearchFilter) -> bool
fn eq(&self, other: &SearchFilter) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchFilter
Auto Trait Implementations§
impl Freeze for SearchFilter
impl RefUnwindSafe for SearchFilter
impl Send for SearchFilter
impl Sync for SearchFilter
impl Unpin for SearchFilter
impl UnwindSafe for SearchFilter
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> 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>
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>
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 more