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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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 for SortCustomersField
impl PartialEq for SortCustomersField
Source§impl Serialize for SortCustomersField
impl Serialize for SortCustomersField
Source§impl ToString for SortCustomersField
impl ToString for SortCustomersField
impl Eq for SortCustomersField
impl StructuralPartialEq for SortCustomersField
Auto Trait Implementations§
impl Freeze for SortCustomersField
impl RefUnwindSafe for SortCustomersField
impl Send for SortCustomersField
impl Sync for SortCustomersField
impl Unpin for SortCustomersField
impl UnwindSafe for SortCustomersField
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.