pub struct ListCustomers<'a> {
pub created: Option<RangeQuery<Timestamp>>,
pub email: Option<&'a str>,
pub ending_before: Option<CustomerId>,
pub expand: &'a [&'a str],
pub limit: Option<u64>,
pub starting_after: Option<CustomerId>,
pub test_clock: Option<&'a str>,
}
Expand description
The parameters for Customer::list
.
Fields§
§created: Option<RangeQuery<Timestamp>>
§email: Option<&'a str>
A case-sensitive filter on the list based on the customer’s email
field.
The value must be a string.
ending_before: Option<CustomerId>
A cursor for use in pagination.
ending_before
is an object ID that defines your place in the list.
For instance, if you make a list request and receive 100 objects, starting with obj_bar
, your subsequent call can include ending_before=obj_bar
in order to fetch the previous page of the list.
expand: &'a [&'a str]
Specifies which fields in the response should be expanded.
limit: Option<u64>
A limit on the number of objects to be returned.
Limit can range between 1 and 100, and the default is 10.
starting_after: Option<CustomerId>
A cursor for use in pagination.
starting_after
is an object ID that defines your place in the list.
For instance, if you make a list request and receive 100 objects, ending with obj_foo
, your subsequent call can include starting_after=obj_foo
in order to fetch the next page of the list.
test_clock: Option<&'a str>
Provides a list of customers that are associated with the specified test clock.
The response will not include customers with test clocks if this parameter is not set.
Implementations§
source§impl<'a> ListCustomers<'a>
impl<'a> ListCustomers<'a>
Trait Implementations§
source§impl<'a> Clone for ListCustomers<'a>
impl<'a> Clone for ListCustomers<'a>
source§fn clone(&self) -> ListCustomers<'a>
fn clone(&self) -> ListCustomers<'a>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<'a> Debug for ListCustomers<'a>
impl<'a> Debug for ListCustomers<'a>
source§impl<'a> Default for ListCustomers<'a>
impl<'a> Default for ListCustomers<'a>
source§fn default() -> ListCustomers<'a>
fn default() -> ListCustomers<'a>
Auto Trait Implementations§
impl<'a> Freeze for ListCustomers<'a>
impl<'a> RefUnwindSafe for ListCustomers<'a>
impl<'a> Send for ListCustomers<'a>
impl<'a> Sync for ListCustomers<'a>
impl<'a> Unpin for ListCustomers<'a>
impl<'a> UnwindSafe for ListCustomers<'a>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)