#[non_exhaustive]pub struct SearchableContactAttributes {
pub criteria: Vec<SearchableContactAttributesCriteria>,
pub match_type: Option<SearchContactsMatchType>,
}
Expand description
A structure that defines search criteria based on user-defined contact attributes that are configured for contact search.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.criteria: Vec<SearchableContactAttributesCriteria>
The list of criteria based on user-defined contact attributes that are configured for contact search.
match_type: Option<SearchContactsMatchType>
The match type combining search criteria using multiple searchable contact attributes.
Implementations§
source§impl SearchableContactAttributes
impl SearchableContactAttributes
sourcepub fn criteria(&self) -> &[SearchableContactAttributesCriteria]
pub fn criteria(&self) -> &[SearchableContactAttributesCriteria]
The list of criteria based on user-defined contact attributes that are configured for contact search.
sourcepub fn match_type(&self) -> Option<&SearchContactsMatchType>
pub fn match_type(&self) -> Option<&SearchContactsMatchType>
The match type combining search criteria using multiple searchable contact attributes.
source§impl SearchableContactAttributes
impl SearchableContactAttributes
sourcepub fn builder() -> SearchableContactAttributesBuilder
pub fn builder() -> SearchableContactAttributesBuilder
Creates a new builder-style object to manufacture SearchableContactAttributes
.
Trait Implementations§
source§impl Clone for SearchableContactAttributes
impl Clone for SearchableContactAttributes
source§fn clone(&self) -> SearchableContactAttributes
fn clone(&self) -> SearchableContactAttributes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SearchableContactAttributes
impl Debug for SearchableContactAttributes
source§impl PartialEq for SearchableContactAttributes
impl PartialEq for SearchableContactAttributes
source§fn eq(&self, other: &SearchableContactAttributes) -> bool
fn eq(&self, other: &SearchableContactAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchableContactAttributes
Auto Trait Implementations§
impl RefUnwindSafe for SearchableContactAttributes
impl Send for SearchableContactAttributes
impl Sync for SearchableContactAttributes
impl Unpin for SearchableContactAttributes
impl UnwindSafe for SearchableContactAttributes
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.