Struct square_api_client::models::InvoiceSort
source · [−]pub struct InvoiceSort {
pub field: InvoiceSortField,
pub order: Option<SortOrder>,
}
Expand description
Identifies the sort field and sort order.
Fields
field: InvoiceSortField
The field to use for sorting.
order: Option<SortOrder>
The order to use for sorting the results.
Trait Implementations
sourceimpl Clone for InvoiceSort
impl Clone for InvoiceSort
sourcefn clone(&self) -> InvoiceSort
fn clone(&self) -> InvoiceSort
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 InvoiceSort
impl Debug for InvoiceSort
sourceimpl Default for InvoiceSort
impl Default for InvoiceSort
sourcefn default() -> InvoiceSort
fn default() -> InvoiceSort
Returns the “default value” for a type. Read more
sourceimpl PartialEq<InvoiceSort> for InvoiceSort
impl PartialEq<InvoiceSort> for InvoiceSort
sourcefn eq(&self, other: &InvoiceSort) -> bool
fn eq(&self, other: &InvoiceSort) -> bool
sourceimpl Serialize for InvoiceSort
impl Serialize for InvoiceSort
impl Eq for InvoiceSort
impl StructuralEq for InvoiceSort
impl StructuralPartialEq for InvoiceSort
Auto Trait Implementations
impl RefUnwindSafe for InvoiceSort
impl Send for InvoiceSort
impl Sync for InvoiceSort
impl Unpin for InvoiceSort
impl UnwindSafe for InvoiceSort
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.