pub struct SearchCustomersDateTimeFilter {
pub created_at: Option<TimeRange>,
}
Expand description
Filter for Customer
objects based on whether their CREATED_AT
timestamps fall within a specified time range.
You can specify the time range and which timestamp to filter for. You can filter for only one time range at a time.
For each time range, the start time and end time are inclusive. If the end time is absent, it defaults to the time of the first request for the cursor.
Fields§
§created_at: Option<TimeRange>
The time range for filtering on the created_at
timestamp. If you use this value, you must
set the sort_field
in the CustomersSearchSort
object to CREATED_AT
.
Trait Implementations§
Source§impl Clone for SearchCustomersDateTimeFilter
impl Clone for SearchCustomersDateTimeFilter
Source§fn clone(&self) -> SearchCustomersDateTimeFilter
fn clone(&self) -> SearchCustomersDateTimeFilter
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 Default for SearchCustomersDateTimeFilter
impl Default for SearchCustomersDateTimeFilter
Source§fn default() -> SearchCustomersDateTimeFilter
fn default() -> SearchCustomersDateTimeFilter
Returns the “default value” for a type. Read more
Source§impl PartialEq for SearchCustomersDateTimeFilter
impl PartialEq for SearchCustomersDateTimeFilter
Source§fn eq(&self, other: &SearchCustomersDateTimeFilter) -> bool
fn eq(&self, other: &SearchCustomersDateTimeFilter) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for SearchCustomersDateTimeFilter
impl StructuralPartialEq for SearchCustomersDateTimeFilter
Auto Trait Implementations§
impl Freeze for SearchCustomersDateTimeFilter
impl RefUnwindSafe for SearchCustomersDateTimeFilter
impl Send for SearchCustomersDateTimeFilter
impl Sync for SearchCustomersDateTimeFilter
impl Unpin for SearchCustomersDateTimeFilter
impl UnwindSafe for SearchCustomersDateTimeFilter
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.