pub struct AccountStatementPreview {
pub duplicates: i64,
pub end_amount: i64,
pub end_date: NaiveDate,
pub file_name: String,
pub file_type: String,
pub identifier: Option<String>,
pub movements: i64,
pub start_amount: i64,
pub start_date: NaiveDate,
pub without_amount: i64,
pub extra: Map<String, Value>,
}Expand description
Parsed statement preview. Amounts are in minor currency units.
Fields§
§duplicates: i64Movements matching existing movements across all accounts in the parsed date range.
end_amount: i64End balance in cents.
end_date: NaiveDateA simple date in ISO format, e.g. ‘2022-10-19’
file_name: String§file_type: StringDetected parser format.
Allowed values: camt, mt940, paypal.
identifier: Option<String>Account identifier detected in the source, such as an IBAN; null if the format provides none.
movements: i64Movement count after cross-account duplicate comparison.
start_amount: i64Start balance in cents.
start_date: NaiveDateA simple date in ISO format, e.g. ‘2022-10-19’
without_amount: i64Number of movements with an amount of zero that would be skipped on import.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for AccountStatementPreview
impl Clone for AccountStatementPreview
Source§impl Debug for AccountStatementPreview
impl Debug for AccountStatementPreview
Source§impl Default for AccountStatementPreview
impl Default for AccountStatementPreview
Source§impl<'de> Deserialize<'de> for AccountStatementPreview
impl<'de> Deserialize<'de> for AccountStatementPreview
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 AccountStatementPreview
impl PartialEq for AccountStatementPreview
Source§impl Serialize for AccountStatementPreview
impl Serialize for AccountStatementPreview
impl StructuralPartialEq for AccountStatementPreview
Auto Trait Implementations§
impl Freeze for AccountStatementPreview
impl RefUnwindSafe for AccountStatementPreview
impl Send for AccountStatementPreview
impl Sync for AccountStatementPreview
impl Unpin for AccountStatementPreview
impl UnsafeUnpin for AccountStatementPreview
impl UnwindSafe for AccountStatementPreview
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