#[non_exhaustive]pub struct GroupSearchFilterBuilder { /* private fields */ }
Expand description
A builder for GroupSearchFilter
.
Implementations§
source§impl GroupSearchFilterBuilder
impl GroupSearchFilterBuilder
sourcepub fn operator(self, input: GroupFilterOperator) -> Self
pub fn operator(self, input: GroupFilterOperator) -> Self
The comparison operator that you want to use as a filter, for example "Operator": "StartsWith"
. Currently, the only supported operator is StartsWith
.
sourcepub fn set_operator(self, input: Option<GroupFilterOperator>) -> Self
pub fn set_operator(self, input: Option<GroupFilterOperator>) -> Self
The comparison operator that you want to use as a filter, for example "Operator": "StartsWith"
. Currently, the only supported operator is StartsWith
.
sourcepub fn get_operator(&self) -> &Option<GroupFilterOperator>
pub fn get_operator(&self) -> &Option<GroupFilterOperator>
The comparison operator that you want to use as a filter, for example "Operator": "StartsWith"
. Currently, the only supported operator is StartsWith
.
sourcepub fn name(self, input: GroupFilterAttribute) -> Self
pub fn name(self, input: GroupFilterAttribute) -> Self
The name of the value that you want to use as a filter, for example "Name": "GROUP_NAME"
. Currently, the only supported name is GROUP_NAME
.
sourcepub fn set_name(self, input: Option<GroupFilterAttribute>) -> Self
pub fn set_name(self, input: Option<GroupFilterAttribute>) -> Self
The name of the value that you want to use as a filter, for example "Name": "GROUP_NAME"
. Currently, the only supported name is GROUP_NAME
.
sourcepub fn get_name(&self) -> &Option<GroupFilterAttribute>
pub fn get_name(&self) -> &Option<GroupFilterAttribute>
The name of the value that you want to use as a filter, for example "Name": "GROUP_NAME"
. Currently, the only supported name is GROUP_NAME
.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The value of the named item, in this case GROUP_NAME
, that you want to use as a filter.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
The value of the named item, in this case GROUP_NAME
, that you want to use as a filter.
sourcepub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
The value of the named item, in this case GROUP_NAME
, that you want to use as a filter.
sourcepub fn build(self) -> Result<GroupSearchFilter, BuildError>
pub fn build(self) -> Result<GroupSearchFilter, BuildError>
Consumes the builder and constructs a GroupSearchFilter
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GroupSearchFilterBuilder
impl Clone for GroupSearchFilterBuilder
source§fn clone(&self) -> GroupSearchFilterBuilder
fn clone(&self) -> GroupSearchFilterBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GroupSearchFilterBuilder
impl Debug for GroupSearchFilterBuilder
source§impl Default for GroupSearchFilterBuilder
impl Default for GroupSearchFilterBuilder
source§fn default() -> GroupSearchFilterBuilder
fn default() -> GroupSearchFilterBuilder
source§impl PartialEq for GroupSearchFilterBuilder
impl PartialEq for GroupSearchFilterBuilder
source§fn eq(&self, other: &GroupSearchFilterBuilder) -> bool
fn eq(&self, other: &GroupSearchFilterBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GroupSearchFilterBuilder
Auto Trait Implementations§
impl Freeze for GroupSearchFilterBuilder
impl RefUnwindSafe for GroupSearchFilterBuilder
impl Send for GroupSearchFilterBuilder
impl Sync for GroupSearchFilterBuilder
impl Unpin for GroupSearchFilterBuilder
impl UnwindSafe for GroupSearchFilterBuilder
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