pub struct AccountStatement {
pub duplicates: i64,
pub end_amount: i64,
pub end_date: NaiveDate,
pub id: i64,
pub identifier: Option<String>,
pub name: String,
pub start_amount: i64,
pub start_date: NaiveDate,
pub statistics: StatementStatistics,
pub extra: Map<String, Value>,
}Expand description
Imported bank statement with balances and movement counts. Actual finance transactions are created separately when movements are booked.
Fields§
§duplicates: i64Number of source movements skipped as duplicates during import.
end_amount: i64Balance in minor currency units (cents for EUR), which can be negative.
end_date: NaiveDateA simple date in ISO format, e.g. ‘2022-10-19’
id: i64§identifier: Option<String>Account identifier detected in the source, such as an IBAN; null if the format provides none.
name: String§start_amount: i64Balance in minor currency units (cents for EUR), which can be negative.
start_date: NaiveDateA simple date in ISO format, e.g. ‘2022-10-19’
statistics: StatementStatistics§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for AccountStatement
impl Clone for AccountStatement
Source§impl Debug for AccountStatement
impl Debug for AccountStatement
Source§impl Default for AccountStatement
impl Default for AccountStatement
Source§impl<'de> Deserialize<'de> for AccountStatement
impl<'de> Deserialize<'de> for AccountStatement
Source§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
Source§impl PartialEq for AccountStatement
impl PartialEq for AccountStatement
Source§impl Serialize for AccountStatement
impl Serialize for AccountStatement
impl StructuralPartialEq for AccountStatement
Auto Trait Implementations§
impl Freeze for AccountStatement
impl RefUnwindSafe for AccountStatement
impl Send for AccountStatement
impl Sync for AccountStatement
impl Unpin for AccountStatement
impl UnsafeUnpin for AccountStatement
impl UnwindSafe for AccountStatement
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