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
sourceimpl Clone for SortCustomersField
impl Clone for SortCustomersField
sourcefn clone(&self) -> SortCustomersField
fn clone(&self) -> SortCustomersField
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 SortCustomersField
impl Debug for SortCustomersField
sourceimpl Default for SortCustomersField
impl Default for SortCustomersField
sourceimpl From<SortCustomersField> for String
impl From<SortCustomersField> for String
sourcefn from(sort_field: SortCustomersField) -> Self
fn from(sort_field: SortCustomersField) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SortCustomersField> for SortCustomersField
impl PartialEq<SortCustomersField> for SortCustomersField
sourcefn eq(&self, other: &SortCustomersField) -> bool
fn eq(&self, other: &SortCustomersField) -> bool
sourceimpl Serialize for SortCustomersField
impl Serialize for SortCustomersField
sourceimpl 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
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
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.