pub struct TransferMatch {Show 14 fields
pub from_group: usize,
pub from_index: usize,
pub from_account: Option<String>,
pub from_filename: Option<String>,
pub from_lineno: Option<u32>,
pub to_group: usize,
pub to_index: usize,
pub to_account: Option<String>,
pub to_filename: Option<String>,
pub to_lineno: Option<u32>,
pub amount: Decimal,
pub currency: String,
pub confidence: f64,
pub date: String,
}Expand description
A detected transfer pair.
Fields§
§from_group: usizeIndex of the source transaction (debit side) in the first group.
from_index: usizeIndex within that group’s directives.
from_account: Option<String>Account name of the debit side (if available).
from_filename: Option<String>Source file of the debit side (if available).
from_lineno: Option<u32>Source line number of the debit side (if available).
to_group: usizeIndex of the destination transaction (credit side) in the second group.
to_index: usizeIndex within that group’s directives.
to_account: Option<String>Account name of the credit side (if available).
to_filename: Option<String>Source file of the credit side (if available).
to_lineno: Option<u32>Source line number of the credit side (if available).
amount: DecimalThe matched amount (absolute value).
currency: StringThe matched currency.
confidence: f64Confidence score (0.0 to 1.0).
date: StringDate of the debit (from) side, in YYYY-MM-DD form.
Trait Implementations§
Source§impl Clone for TransferMatch
impl Clone for TransferMatch
Source§fn clone(&self) -> TransferMatch
fn clone(&self) -> TransferMatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TransferMatch
impl RefUnwindSafe for TransferMatch
impl Send for TransferMatch
impl Sync for TransferMatch
impl Unpin for TransferMatch
impl UnsafeUnpin for TransferMatch
impl UnwindSafe for TransferMatch
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