Struct aws_sdk_connect::types::UserSearchFilter
source · #[non_exhaustive]pub struct UserSearchFilter {
pub tag_filter: Option<ControlPlaneTagFilter>,
pub user_attribute_filter: Option<ControlPlaneUserAttributeFilter>,
}
Expand description
Filters to be applied to search results.
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.tag_filter: Option<ControlPlaneTagFilter>
An object that can be used to specify Tag conditions inside the SearchFilter
. This accepts an OR
of AND
(List of List) input where:
-
Top level list specifies conditions that need to be applied with
OR
operator -
Inner list specifies conditions that need to be applied with
AND
operator.
user_attribute_filter: Option<ControlPlaneUserAttributeFilter>
An object that can be used to specify Tag conditions or Hierarchy Group conditions inside the SearchFilter.
This accepts an OR
of AND
(List of List) input where:
-
The top level list specifies conditions that need to be applied with
OR
operator. -
The inner list specifies conditions that need to be applied with
AND
operator.
Only one field can be populated. This object can’t be used along with TagFilter. Request can either contain TagFilter or UserAttributeFilter if SearchFilter is specified, combination of both is not supported and such request will throw AccessDeniedException.
Implementations§
source§impl UserSearchFilter
impl UserSearchFilter
sourcepub fn tag_filter(&self) -> Option<&ControlPlaneTagFilter>
pub fn tag_filter(&self) -> Option<&ControlPlaneTagFilter>
An object that can be used to specify Tag conditions inside the SearchFilter
. This accepts an OR
of AND
(List of List) input where:
-
Top level list specifies conditions that need to be applied with
OR
operator -
Inner list specifies conditions that need to be applied with
AND
operator.
sourcepub fn user_attribute_filter(&self) -> Option<&ControlPlaneUserAttributeFilter>
pub fn user_attribute_filter(&self) -> Option<&ControlPlaneUserAttributeFilter>
An object that can be used to specify Tag conditions or Hierarchy Group conditions inside the SearchFilter.
This accepts an OR
of AND
(List of List) input where:
-
The top level list specifies conditions that need to be applied with
OR
operator. -
The inner list specifies conditions that need to be applied with
AND
operator.
Only one field can be populated. This object can’t be used along with TagFilter. Request can either contain TagFilter or UserAttributeFilter if SearchFilter is specified, combination of both is not supported and such request will throw AccessDeniedException.
source§impl UserSearchFilter
impl UserSearchFilter
sourcepub fn builder() -> UserSearchFilterBuilder
pub fn builder() -> UserSearchFilterBuilder
Creates a new builder-style object to manufacture UserSearchFilter
.
Trait Implementations§
source§impl Clone for UserSearchFilter
impl Clone for UserSearchFilter
source§fn clone(&self) -> UserSearchFilter
fn clone(&self) -> UserSearchFilter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserSearchFilter
impl Debug for UserSearchFilter
source§impl PartialEq for UserSearchFilter
impl PartialEq for UserSearchFilter
source§fn eq(&self, other: &UserSearchFilter) -> bool
fn eq(&self, other: &UserSearchFilter) -> bool
self
and other
values to be equal, and is used
by ==
.