pub enum CreditNoteLineItemType {
CustomLineItem,
InvoiceLineItem,
}
Expand description
The type of the credit note line item, one of invoice_line_item
or custom_line_item
.
When the type is invoice_line_item
there is an additional invoice_line_item
property on the resource the value of which is the id of the credited line item on the invoice.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CreditNoteLineItemType
impl Clone for CreditNoteLineItemType
Source§fn clone(&self) -> CreditNoteLineItemType
fn clone(&self) -> CreditNoteLineItemType
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 CreditNoteLineItemType
impl Debug for CreditNoteLineItemType
Source§impl Deserialize for CreditNoteLineItemType
impl Deserialize for CreditNoteLineItemType
Source§impl Display for CreditNoteLineItemType
impl Display for CreditNoteLineItemType
Source§impl FromStr for CreditNoteLineItemType
impl FromStr for CreditNoteLineItemType
Source§impl FromValueOpt for CreditNoteLineItemType
impl FromValueOpt for CreditNoteLineItemType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for CreditNoteLineItemType
impl PartialEq for CreditNoteLineItemType
impl Copy for CreditNoteLineItemType
impl Eq for CreditNoteLineItemType
impl StructuralPartialEq for CreditNoteLineItemType
Auto Trait Implementations§
impl Freeze for CreditNoteLineItemType
impl RefUnwindSafe for CreditNoteLineItemType
impl Send for CreditNoteLineItemType
impl Sync for CreditNoteLineItemType
impl Unpin for CreditNoteLineItemType
impl UnwindSafe for CreditNoteLineItemType
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