pub struct ICMatchingConfig {
pub tolerance: Decimal,
pub match_by_reference: bool,
pub match_by_amount: bool,
pub date_range_days: i64,
pub auto_adjust_threshold: Decimal,
pub base_currency: String,
}Expand description
Configuration for IC matching.
Fields§
§tolerance: DecimalTolerance for matching (amounts within this are considered matched).
match_by_reference: boolMatch by IC reference (exact match).
match_by_amount: boolMatch by amount (fuzzy match).
date_range_days: i64Match by date range.
auto_adjust_threshold: DecimalAuto-create adjustment entries for small differences.
base_currency: StringCurrency for matching.
Trait Implementations§
Source§impl Clone for ICMatchingConfig
impl Clone for ICMatchingConfig
Source§fn clone(&self) -> ICMatchingConfig
fn clone(&self) -> ICMatchingConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ICMatchingConfig
impl Debug for ICMatchingConfig
Auto Trait Implementations§
impl Freeze for ICMatchingConfig
impl RefUnwindSafe for ICMatchingConfig
impl Send for ICMatchingConfig
impl Sync for ICMatchingConfig
impl Unpin for ICMatchingConfig
impl UnwindSafe for ICMatchingConfig
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