Enum square_api_client::models::enums::SortCustomersField
source · pub enum SortCustomersField {
Default,
CreatedAt,
}
Expand description
Use one or more customer attributes as the sort key to sort searched customer profiles. For example, use the creation date (created_at) of customers or default attributes as the sort key.
Variants§
Default
By default, customers are sorted alphanumerically by concatenating their given_name and family_name.
CreatedAt
Use the creation date attribute (created_at) of customer profiles as the sort key.
Trait Implementations§
source§impl Clone for SortCustomersField
impl Clone for SortCustomersField
source§fn clone(&self) -> SortCustomersField
fn clone(&self) -> SortCustomersField
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 SortCustomersField
impl Debug for SortCustomersField
source§impl Default for SortCustomersField
impl Default for SortCustomersField
source§impl From<SortCustomersField> for String
impl From<SortCustomersField> for String
source§fn from(sort_field: SortCustomersField) -> Self
fn from(sort_field: SortCustomersField) -> Self
Converts to this type from the input type.
source§impl PartialEq<SortCustomersField> for SortCustomersField
impl PartialEq<SortCustomersField> for SortCustomersField
source§fn eq(&self, other: &SortCustomersField) -> bool
fn eq(&self, other: &SortCustomersField) -> bool
source§impl Serialize for SortCustomersField
impl Serialize for SortCustomersField
source§impl ToString for SortCustomersField
impl ToString for SortCustomersField
impl Eq for SortCustomersField
impl StructuralEq for SortCustomersField
impl StructuralPartialEq for SortCustomersField
Auto Trait Implementations§
impl RefUnwindSafe for SortCustomersField
impl Send for SortCustomersField
impl Sync for SortCustomersField
impl Unpin for SortCustomersField
impl UnwindSafe for SortCustomersField
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.