pub struct BillingCreditGrantsResourceBalanceDebit {
pub amount: BillingCreditGrantsResourceAmount,
pub credits_applied: Option<BillingCreditGrantsResourceBalanceCreditsApplied>,
pub type_: BillingCreditGrantsResourceBalanceDebitType,
}
Fields§
§amount: BillingCreditGrantsResourceAmount
§credits_applied: Option<BillingCreditGrantsResourceBalanceCreditsApplied>
Details of how the billing credits were applied to an invoice.
Only present if type
is credits_applied
.
type_: BillingCreditGrantsResourceBalanceDebitType
The type of debit transaction.
Trait Implementations§
Source§impl Clone for BillingCreditGrantsResourceBalanceDebit
impl Clone for BillingCreditGrantsResourceBalanceDebit
Source§fn clone(&self) -> BillingCreditGrantsResourceBalanceDebit
fn clone(&self) -> BillingCreditGrantsResourceBalanceDebit
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 FromValueOpt for BillingCreditGrantsResourceBalanceDebit
impl FromValueOpt for BillingCreditGrantsResourceBalanceDebit
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for BillingCreditGrantsResourceBalanceDebit
impl RefUnwindSafe for BillingCreditGrantsResourceBalanceDebit
impl Send for BillingCreditGrantsResourceBalanceDebit
impl Sync for BillingCreditGrantsResourceBalanceDebit
impl Unpin for BillingCreditGrantsResourceBalanceDebit
impl UnwindSafe for BillingCreditGrantsResourceBalanceDebit
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