pub struct SearchCustomersFilter {
pub email_address: Option<SearchCustomersTextFilter>,
pub created_at: Option<SearchCustomersDateTimeFilter>,
pub phone_number: Option<SearchCustomersTextFilter>,
pub reference_id: Option<SearchCustomersTextFilter>,
pub creation_source: Option<SearchCustomerCreationSourceFilter>,
pub updated_at: Option<SearchCustomersDateTimeFilter>,
}
Expand description
Filtering criteria to use for a SearchCustomers
request.
Multiple filters are ANDed together.
Fields§
§email_address: Option<SearchCustomersTextFilter>
Filter by [ email addresses]
created_at: Option<SearchCustomersDateTimeFilter>
Filter for results within a time range.
Important: If you filter for customers by time range, you must set SearchCustomersSort
to
sort by the same field. Learn more about filtering customers by time
range.
phone_number: Option<SearchCustomersTextFilter>
Filter by the phone number.
reference_id: Option<SearchCustomersTextFilter>
Filter by the the secondary id that third party systems can inject when creating the customer.
creation_source: Option<SearchCustomerCreationSourceFilter>
The creation source filter. If one or more creation sources are set, customer profiles are included in, or excluded from, the result if they match at least one of the filter criteria.
updated_at: Option<SearchCustomersDateTimeFilter>
Similar to created_at, we can also fulter with a time range of updated_at property_names
Trait Implementations§
Source§impl Clone for SearchCustomersFilter
impl Clone for SearchCustomersFilter
Source§fn clone(&self) -> SearchCustomersFilter
fn clone(&self) -> SearchCustomersFilter
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SearchCustomersFilter
impl Debug for SearchCustomersFilter
Source§impl Default for SearchCustomersFilter
impl Default for SearchCustomersFilter
Source§fn default() -> SearchCustomersFilter
fn default() -> SearchCustomersFilter
Returns the “default value” for a type. Read more
Source§impl PartialEq for SearchCustomersFilter
impl PartialEq for SearchCustomersFilter
Source§impl Serialize for SearchCustomersFilter
impl Serialize for SearchCustomersFilter
impl Eq for SearchCustomersFilter
impl StructuralPartialEq for SearchCustomersFilter
Auto Trait Implementations§
impl Freeze for SearchCustomersFilter
impl RefUnwindSafe for SearchCustomersFilter
impl Send for SearchCustomersFilter
impl Sync for SearchCustomersFilter
impl Unpin for SearchCustomersFilter
impl UnwindSafe for SearchCustomersFilter
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.