pub struct CashBalance {
pub available: Option<HashMap<String, i64>>,
pub customer: String,
pub livemode: bool,
pub settings: CustomerBalanceCustomerBalanceSettings,
}
Expand description
A customer’s Cash balance
represents real funds.
Customers can add funds to their cash balance by sending a bank transfer.
These funds can be used for payment and can eventually be paid out to your bank account.
For more details see <https://stripe.com/docs/api/cash_balance/object>.
Fields§
§available: Option<HashMap<String, i64>>
A hash of all cash balances available to this customer. You cannot delete a customer with any cash balances, even if the balance is 0. Amounts are represented in the smallest currency unit.
customer: String
The ID of the customer whose cash balance this object represents.
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
settings: CustomerBalanceCustomerBalanceSettings
Trait Implementations§
Source§impl Clone for CashBalance
impl Clone for CashBalance
Source§fn clone(&self) -> CashBalance
fn clone(&self) -> CashBalance
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 CashBalance
impl Debug for CashBalance
Source§impl Deserialize for CashBalance
impl Deserialize for CashBalance
Source§impl ObjectDeser for CashBalance
impl ObjectDeser for CashBalance
Auto Trait Implementations§
impl Freeze for CashBalance
impl RefUnwindSafe for CashBalance
impl Send for CashBalance
impl Sync for CashBalance
impl Unpin for CashBalance
impl UnwindSafe for CashBalance
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