Struct stripe::generated::core::cash_balance::CashBalance
source · pub struct CashBalance {
pub available: Option<i64>,
pub customer: String,
pub livemode: bool,
pub settings: CustomerBalanceCustomerBalanceSettings,
}
Expand description
The resource representing a Stripe “cash_balance”.
For more details see https://stripe.com/docs/api/cash_balance/object
Fields§
§available: Option<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 copy 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 Default for CashBalance
impl Default for CashBalance
source§fn default() -> CashBalance
fn default() -> CashBalance
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CashBalance
impl<'de> Deserialize<'de> for CashBalance
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more