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§
Source§impl Clone for InvoiceSortField
impl Clone for InvoiceSortField
Source§fn clone(&self) -> InvoiceSortField
fn clone(&self) -> InvoiceSortField
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 InvoiceSortField
impl Debug for InvoiceSortField
Source§impl Default for InvoiceSortField
impl Default for InvoiceSortField
Source§impl PartialEq for InvoiceSortField
impl PartialEq for InvoiceSortField
Source§impl Serialize for InvoiceSortField
impl Serialize for InvoiceSortField
impl Eq for InvoiceSortField
impl StructuralPartialEq for InvoiceSortField
Auto Trait Implementations§
impl Freeze for InvoiceSortField
impl RefUnwindSafe for InvoiceSortField
impl Send for InvoiceSortField
impl Sync for InvoiceSortField
impl Unpin for InvoiceSortField
impl UnwindSafe for InvoiceSortField
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.