pub struct BillingCreditGrantsResourceBalanceCredit {
pub amount: BillingCreditGrantsResourceAmount,
pub credits_application_invoice_voided: Option<BillingCreditGrantsResourceBalanceCreditsApplicationInvoiceVoided>,
pub type_: BillingCreditGrantsResourceBalanceCreditType,
}
Fields§
§amount: BillingCreditGrantsResourceAmount
§credits_application_invoice_voided: Option<BillingCreditGrantsResourceBalanceCreditsApplicationInvoiceVoided>
Details of the invoice to which the reinstated credits were originally applied.
Only present if type
is credits_application_invoice_voided
.
type_: BillingCreditGrantsResourceBalanceCreditType
The type of credit transaction.
Trait Implementations§
Source§impl Clone for BillingCreditGrantsResourceBalanceCredit
impl Clone for BillingCreditGrantsResourceBalanceCredit
Source§fn clone(&self) -> BillingCreditGrantsResourceBalanceCredit
fn clone(&self) -> BillingCreditGrantsResourceBalanceCredit
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 BillingCreditGrantsResourceBalanceCredit
impl FromValueOpt for BillingCreditGrantsResourceBalanceCredit
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for BillingCreditGrantsResourceBalanceCredit
impl RefUnwindSafe for BillingCreditGrantsResourceBalanceCredit
impl Send for BillingCreditGrantsResourceBalanceCredit
impl Sync for BillingCreditGrantsResourceBalanceCredit
impl Unpin for BillingCreditGrantsResourceBalanceCredit
impl UnwindSafe for BillingCreditGrantsResourceBalanceCredit
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