Enum square_api_client::models::enums::InvoiceSortField
source · pub enum InvoiceSortField {
InvoiceSortDate,
}
Expand description
Indicates the status of an invoice.
Variants
InvoiceSortDate
The field works as follows:
- If the invoice is a draft, it uses the invoice
created_at
date. - If the invoice is scheduled for publication, it uses the
scheduled_at
date. - If the invoice is published, it uses the invoice publication date.
Trait Implementations
sourceimpl Clone for InvoiceSortField
impl Clone for InvoiceSortField
sourcefn clone(&self) -> InvoiceSortField
fn clone(&self) -> InvoiceSortField
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 InvoiceSortField
impl Debug for InvoiceSortField
sourceimpl Default for InvoiceSortField
impl Default for InvoiceSortField
sourceimpl PartialEq<InvoiceSortField> for InvoiceSortField
impl PartialEq<InvoiceSortField> for InvoiceSortField
sourcefn eq(&self, other: &InvoiceSortField) -> bool
fn eq(&self, other: &InvoiceSortField) -> bool
sourceimpl Serialize for InvoiceSortField
impl Serialize for InvoiceSortField
impl Eq for InvoiceSortField
impl StructuralEq for InvoiceSortField
impl StructuralPartialEq for InvoiceSortField
Auto Trait Implementations
impl RefUnwindSafe for InvoiceSortField
impl Send for InvoiceSortField
impl Sync for InvoiceSortField
impl Unpin for InvoiceSortField
impl UnwindSafe for InvoiceSortField
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.