pub struct BankConnectionsResourceBalance {
pub as_of: Timestamp,
pub cash: Option<BankConnectionsResourceBalanceApiResourceCashBalance>,
pub credit: Option<BankConnectionsResourceBalanceApiResourceCreditBalance>,
pub current: HashMap<String, i64>,
pub type_: BankConnectionsResourceBalanceType,
}
Fields§
§as_of: Timestamp
The time that the external institution calculated this balance. Measured in seconds since the Unix epoch.
cash: Option<BankConnectionsResourceBalanceApiResourceCashBalance>
§credit: Option<BankConnectionsResourceBalanceApiResourceCreditBalance>
§current: HashMap<String, i64>
The balances owed to (or by) the account holder, before subtracting any outbound pending transactions or adding any inbound pending transactions.
Each key is a three-letter ISO currency code, in lowercase.
Each value is a integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder.
type_: BankConnectionsResourceBalanceType
The type
of the balance.
An additional hash is included on the balance with a name matching this value.
Trait Implementations§
Source§impl Clone for BankConnectionsResourceBalance
impl Clone for BankConnectionsResourceBalance
Source§fn clone(&self) -> BankConnectionsResourceBalance
fn clone(&self) -> BankConnectionsResourceBalance
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 FromValueOpt for BankConnectionsResourceBalance
impl FromValueOpt for BankConnectionsResourceBalance
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for BankConnectionsResourceBalance
impl RefUnwindSafe for BankConnectionsResourceBalance
impl Send for BankConnectionsResourceBalance
impl Sync for BankConnectionsResourceBalance
impl Unpin for BankConnectionsResourceBalance
impl UnwindSafe for BankConnectionsResourceBalance
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