pub struct BillingCreditBalanceSummary {
pub balances: Vec<CreditBalance>,
pub customer: Expandable<Customer>,
pub livemode: bool,
}
Expand description
Indicates the billing credit balance for billing credits granted to a customer.
Fields§
§balances: Vec<CreditBalance>
The billing credit balances. One entry per credit grant currency. If a customer only has credit grants in a single currency, then this will have a single balance entry.
customer: Expandable<Customer>
The customer the balance is for.
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
Trait Implementations§
Source§impl Clone for BillingCreditBalanceSummary
impl Clone for BillingCreditBalanceSummary
Source§fn clone(&self) -> BillingCreditBalanceSummary
fn clone(&self) -> BillingCreditBalanceSummary
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 BillingCreditBalanceSummary
impl Debug for BillingCreditBalanceSummary
Source§impl FromValueOpt for BillingCreditBalanceSummary
impl FromValueOpt for BillingCreditBalanceSummary
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for BillingCreditBalanceSummary
impl RefUnwindSafe for BillingCreditBalanceSummary
impl Send for BillingCreditBalanceSummary
impl Sync for BillingCreditBalanceSummary
impl Unpin for BillingCreditBalanceSummary
impl UnwindSafe for BillingCreditBalanceSummary
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