pub struct ListCustomersParameters {
pub cursor: String,
pub sort_order: SortOrder,
pub sort_field: SortCustomersField,
}Expand description
This is a model struct for ListCustomersParameters (query parameters)
Fields§
§cursor: StringA pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for your original query. See Pagination for more information.
sort_order: SortOrderSorts the returned list by when the card was created with the specified order. This field defaults to ASC.
sort_field: SortCustomersFieldSorts based on a particular field. By default, customers are sorted alphanumerically by concatenating their given_name and family_name. If neither name field is set, string comparison is performed using one of the remaining fields in the following order: company_name, email, phone_number.
Implementations§
Source§impl ListCustomersParameters
impl ListCustomersParameters
pub fn to_query_string(&self) -> String
Trait Implementations§
Source§impl Clone for ListCustomersParameters
impl Clone for ListCustomersParameters
Source§fn clone(&self) -> ListCustomersParameters
fn clone(&self) -> ListCustomersParameters
Returns a duplicate 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 ListCustomersParameters
impl Debug for ListCustomersParameters
Source§impl Default for ListCustomersParameters
impl Default for ListCustomersParameters
Source§impl From<ListCustomersParameters> for String
impl From<ListCustomersParameters> for String
Source§fn from(list_customers_parameters: ListCustomersParameters) -> Self
fn from(list_customers_parameters: ListCustomersParameters) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ListCustomersParameters
impl RefUnwindSafe for ListCustomersParameters
impl Send for ListCustomersParameters
impl Sync for ListCustomersParameters
impl Unpin for ListCustomersParameters
impl UnwindSafe for ListCustomersParameters
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