#[non_exhaustive]pub struct SearchFilterBuilder { /* private fields */ }
Expand description
A builder for SearchFilter
.
Implementations§
source§impl SearchFilterBuilder
impl SearchFilterBuilder
sourcepub fn attribute(self, input: impl Into<String>) -> Self
pub fn attribute(self, input: impl Into<String>) -> Self
The result attribute to which the filter values are applied. Valid values vary by API action.
sourcepub fn set_attribute(self, input: Option<String>) -> Self
pub fn set_attribute(self, input: Option<String>) -> Self
The result attribute to which the filter values are applied. Valid values vary by API action.
sourcepub fn get_attribute(&self) -> &Option<String>
pub fn get_attribute(&self) -> &Option<String>
The result attribute to which the filter values are applied. Valid values vary by API action.
sourcepub fn operator(self, input: impl Into<String>) -> Self
pub fn operator(self, input: impl Into<String>) -> Self
The operator to apply to the Attribute
with each of the Values
. Valid values vary by Attribute
.
sourcepub fn set_operator(self, input: Option<String>) -> Self
pub fn set_operator(self, input: Option<String>) -> Self
The operator to apply to the Attribute
with each of the Values
. Valid values vary by Attribute
.
sourcepub fn get_operator(&self) -> &Option<String>
pub fn get_operator(&self) -> &Option<String>
The operator to apply to the Attribute
with each of the Values
. Valid values vary by Attribute
.
sourcepub fn values(self, input: impl Into<String>) -> Self
pub fn values(self, input: impl Into<String>) -> Self
Appends an item to values
.
To override the contents of this collection use set_values
.
The list of values applied to the Attribute
and Operator
attributes. Number of values and valid values vary by Attribute
.
sourcepub fn set_values(self, input: Option<Vec<String>>) -> Self
pub fn set_values(self, input: Option<Vec<String>>) -> Self
The list of values applied to the Attribute
and Operator
attributes. Number of values and valid values vary by Attribute
.
sourcepub fn get_values(&self) -> &Option<Vec<String>>
pub fn get_values(&self) -> &Option<Vec<String>>
The list of values applied to the Attribute
and Operator
attributes. Number of values and valid values vary by Attribute
.
sourcepub fn build(self) -> SearchFilter
pub fn build(self) -> SearchFilter
Consumes the builder and constructs a SearchFilter
.
Trait Implementations§
source§impl Clone for SearchFilterBuilder
impl Clone for SearchFilterBuilder
source§fn clone(&self) -> SearchFilterBuilder
fn clone(&self) -> SearchFilterBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchFilterBuilder
impl Debug for SearchFilterBuilder
source§impl Default for SearchFilterBuilder
impl Default for SearchFilterBuilder
source§fn default() -> SearchFilterBuilder
fn default() -> SearchFilterBuilder
source§impl PartialEq for SearchFilterBuilder
impl PartialEq for SearchFilterBuilder
source§fn eq(&self, other: &SearchFilterBuilder) -> bool
fn eq(&self, other: &SearchFilterBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchFilterBuilder
Auto Trait Implementations§
impl Freeze for SearchFilterBuilder
impl RefUnwindSafe for SearchFilterBuilder
impl Send for SearchFilterBuilder
impl Sync for SearchFilterBuilder
impl Unpin for SearchFilterBuilder
impl UnwindSafe for SearchFilterBuilder
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