pub struct TxnFilterPostingAmountLess { /* private fields */ }
Expand description
Txn Posting “Amount is Less than” filter
Select the transaction, if its posting match regex
with amount less than amount
Q: Why there is also account regex as parameter?
A: To support positive amounts as an argument. Sum of all postings inside transaction must be zero. If you select “less than some positive amount”, then all transactions will match, because there must be postings with negative amounts in every transaction to zero out the whole transaction. Hence the filter would be useless without account selector.
Trait Implementations§
Source§impl Clone for TxnFilterPostingAmountLess
impl Clone for TxnFilterPostingAmountLess
Source§fn clone(&self) -> TxnFilterPostingAmountLess
fn clone(&self) -> TxnFilterPostingAmountLess
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TxnFilterPostingAmountLess
impl Debug for TxnFilterPostingAmountLess
Source§impl<'de> Deserialize<'de> for TxnFilterPostingAmountLess
impl<'de> Deserialize<'de> for TxnFilterPostingAmountLess
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
Auto Trait Implementations§
impl Freeze for TxnFilterPostingAmountLess
impl RefUnwindSafe for TxnFilterPostingAmountLess
impl Send for TxnFilterPostingAmountLess
impl Sync for TxnFilterPostingAmountLess
impl Unpin for TxnFilterPostingAmountLess
impl UnwindSafe for TxnFilterPostingAmountLess
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