pub struct Balance {
pub is_intermediate: bool,
pub debit_credit_indicator: DebitOrCredit,
pub date: NaiveDate,
pub iso_currency_code: String,
pub amount: Decimal,
}
Expand description
Represents a balance of an account in between statements or at the start of a statement.
The difference to AvailableBalance
is that a Balance
might not be final in that it might
have been continued from a previous bank statement. In that case, the Balance
is said to be
intermediate. This is signaled by is_intermediate
being set to true
. This is generally the
case if this information is continued in tag :60M:
as opposed to :60F
.
Fields
is_intermediate: bool
debit_credit_indicator: DebitOrCredit
date: NaiveDate
iso_currency_code: String
amount: Decimal
Trait Implementations
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