Struct aws_sdk_elasticbeanstalk::model::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
sourceimpl SearchFilter
impl SearchFilter
sourceimpl SearchFilter
impl SearchFilter
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SearchFilter
Trait Implementations
sourceimpl Clone for SearchFilter
impl Clone for SearchFilter
sourcefn clone(&self) -> SearchFilter
fn clone(&self) -> SearchFilter
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 SearchFilter
impl Debug for SearchFilter
sourceimpl PartialEq<SearchFilter> for SearchFilter
impl PartialEq<SearchFilter> for SearchFilter
sourcefn eq(&self, other: &SearchFilter) -> bool
fn eq(&self, other: &SearchFilter) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SearchFilter) -> bool
fn ne(&self, other: &SearchFilter) -> bool
This method tests for !=.
impl StructuralPartialEq for SearchFilter
Auto Trait Implementations
impl RefUnwindSafe for SearchFilter
impl Send for SearchFilter
impl Sync for SearchFilter
impl Unpin for SearchFilter
impl UnwindSafe for SearchFilter
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