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
sourceimpl ListCustomersParameters
impl ListCustomersParameters
pub fn to_query_string(&self) -> String
Trait Implementations
sourceimpl Clone for ListCustomersParameters
impl Clone for ListCustomersParameters
sourcefn clone(&self) -> ListCustomersParameters
fn clone(&self) -> ListCustomersParameters
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ListCustomersParameters
impl Debug for ListCustomersParameters
sourceimpl Default for ListCustomersParameters
impl Default for ListCustomersParameters
sourceimpl From<ListCustomersParameters> for String
impl From<ListCustomersParameters> for String
sourcefn 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 RefUnwindSafe for ListCustomersParameters
impl Send for ListCustomersParameters
impl Sync for ListCustomersParameters
impl Unpin for ListCustomersParameters
impl UnwindSafe for ListCustomersParameters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more