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
sourceimpl<'de> Deserialize<'de> for Balance
impl<'de> Deserialize<'de> for Balance
sourcefn 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
impl Eq for Balance
impl StructuralEq for Balance
impl StructuralPartialEq for Balance
Auto Trait Implementations
impl RefUnwindSafe for Balance
impl Send for Balance
impl Sync for Balance
impl Unpin for Balance
impl UnwindSafe for Balance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more