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: booldebit_credit_indicator: DebitOrCreditdate: NaiveDateiso_currency_code: Stringamount: Decimal

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.