#[non_exhaustive]pub enum InvoiceStatus {
Unchecked,
CheckedOk,
CheckedWithErrors,
Booked,
Paid,
}Expand description
Status of an invoice in the processing lifecycle.
German: Rechnungsstatus
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unchecked
Unchecked - invoice created/received but not yet verified (Ungeprueft)
CheckedOk
Checked OK - invoice verified and found correct (Geprueft OK)
CheckedWithErrors
Checked with errors - invoice has errors (Geprueft fehlerhaft)
Booked
Booked - invoice recorded in accounting (Gebucht)
Paid
Paid - invoice has been settled (Bezahlt)
Implementations§
Source§impl InvoiceStatus
impl InvoiceStatus
Sourcepub fn german_name(&self) -> &'static str
pub fn german_name(&self) -> &'static str
Returns the German name.
Trait Implementations§
Source§impl Clone for InvoiceStatus
impl Clone for InvoiceStatus
Source§fn clone(&self) -> InvoiceStatus
fn clone(&self) -> InvoiceStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InvoiceStatus
impl Debug for InvoiceStatus
Source§impl<'de> Deserialize<'de> for InvoiceStatus
impl<'de> Deserialize<'de> for InvoiceStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for InvoiceStatus
impl Hash for InvoiceStatus
Source§impl PartialEq for InvoiceStatus
impl PartialEq for InvoiceStatus
Source§impl Serialize for InvoiceStatus
impl Serialize for InvoiceStatus
impl Copy for InvoiceStatus
impl Eq for InvoiceStatus
impl StructuralPartialEq for InvoiceStatus
Auto Trait Implementations§
impl Freeze for InvoiceStatus
impl RefUnwindSafe for InvoiceStatus
impl Send for InvoiceStatus
impl Sync for InvoiceStatus
impl Unpin for InvoiceStatus
impl UnwindSafe for InvoiceStatus
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