Struct square_api_client::models::ListCustomersParameters
source · 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: String
A 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: SortOrder
Sorts the returned list by when the card was created with the specified order. This field defaults to ASC.
sort_field: SortCustomersField
Sorts 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 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 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.