[][src]Struct stripe::Balance

pub struct Balance {
    pub available: Vec<BalanceAmount>,
    pub connect_reserved: Option<Vec<BalanceAmount>>,
    pub livemode: bool,
    pub pending: Vec<BalanceAmount>,
}

The resource representing a Stripe "Balance".

Fields

available: Vec<BalanceAmount>

Funds that are available to be transferred or paid out, whether automatically by Stripe or explicitly via the Transfers API or Payouts API.

The available balance for each currency and payment type can be found in the source_types property.

connect_reserved: Option<Vec<BalanceAmount>>

Funds held due to negative balances on connected Custom accounts.

The connect reserve balance for each currency and payment type can be found in the source_types property.

livemode: bool

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

pending: Vec<BalanceAmount>

Funds that are not yet available in the balance, due to the 7-day rolling pay cycle.

The pending balance for each currency, and for each payment type, can be found in the source_types property.

Trait Implementations

impl Object for Balance[src]

type Id = ()

The canonical id type for this object.

impl Clone for Balance[src]

impl Debug for Balance[src]

impl Serialize for Balance[src]

impl<'de> Deserialize<'de> for Balance[src]

Auto Trait Implementations

impl Send for Balance

impl Unpin for Balance

impl Sync for Balance

impl UnwindSafe for Balance

impl RefUnwindSafe for Balance

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<T> Same<T> for T

type Output = T

Should always be Self