pub struct CreditNotesPretaxCreditAmount {
pub amount: i64,
pub credit_balance_transaction: Option<Expandable<BillingCreditBalanceTransaction>>,
pub discount: Option<Expandable<Discount>>,
pub type_: CreditNotesPretaxCreditAmountType,
}
Fields§
§amount: i64
The amount, in cents (or local equivalent), of the pretax credit amount.
credit_balance_transaction: Option<Expandable<BillingCreditBalanceTransaction>>
The credit balance transaction that was applied to get this pretax credit amount.
discount: Option<Expandable<Discount>>
The discount that was applied to get this pretax credit amount.
type_: CreditNotesPretaxCreditAmountType
Type of the pretax credit amount referenced.
Trait Implementations§
Source§impl Clone for CreditNotesPretaxCreditAmount
impl Clone for CreditNotesPretaxCreditAmount
Source§fn clone(&self) -> CreditNotesPretaxCreditAmount
fn clone(&self) -> CreditNotesPretaxCreditAmount
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 moreAuto Trait Implementations§
impl Freeze for CreditNotesPretaxCreditAmount
impl RefUnwindSafe for CreditNotesPretaxCreditAmount
impl Send for CreditNotesPretaxCreditAmount
impl Sync for CreditNotesPretaxCreditAmount
impl Unpin for CreditNotesPretaxCreditAmount
impl UnwindSafe for CreditNotesPretaxCreditAmount
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