stripe2 32.0.0

Stripe client, generated from the OpenAPI spec.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::{Serialize, Deserialize};
///Change to a FinancialAccount's balance
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
pub struct TreasuryTransactionsResourceBalanceImpact {
    ///The change made to funds the user can spend right now.
    pub cash: i64,
    ///The change made to funds that are not spendable yet, but will become available at a later time.
    pub inbound_pending: i64,
    ///The change made to funds in the account, but not spendable because they are being held for pending outbound flows.
    pub outbound_pending: i64,
}
impl std::fmt::Display for TreasuryTransactionsResourceBalanceImpact {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
        write!(f, "{}", serde_json::to_string(self).unwrap())
    }
}