pub enum CreditNoteType {
PostPayment,
PrePayment,
}
Expand description
Type of this credit note, one of pre_payment
or post_payment
.
A pre_payment
credit note means it was issued when the invoice was open.
A post_payment
credit note means it was issued when the invoice was paid.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CreditNoteType
impl Clone for CreditNoteType
Source§fn clone(&self) -> CreditNoteType
fn clone(&self) -> CreditNoteType
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 CreditNoteType
impl Debug for CreditNoteType
Source§impl Deserialize for CreditNoteType
impl Deserialize for CreditNoteType
Source§impl Display for CreditNoteType
impl Display for CreditNoteType
Source§impl FromStr for CreditNoteType
impl FromStr for CreditNoteType
Source§impl FromValueOpt for CreditNoteType
impl FromValueOpt for CreditNoteType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for CreditNoteType
impl PartialEq for CreditNoteType
impl Copy for CreditNoteType
impl Eq for CreditNoteType
impl StructuralPartialEq for CreditNoteType
Auto Trait Implementations§
impl Freeze for CreditNoteType
impl RefUnwindSafe for CreditNoteType
impl Send for CreditNoteType
impl Sync for CreditNoteType
impl Unpin for CreditNoteType
impl UnwindSafe for CreditNoteType
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