Struct beancount_parser::transaction::Transaction
source · Available on crate feature
unstable only.Expand description
Implementations§
source§impl<'a> Transaction<'a>
impl<'a> Transaction<'a>
sourcepub fn balanced(self) -> Option<Transaction<'a, Amount<'a>>>
pub fn balanced(self) -> Option<Transaction<'a, Amount<'a>>>
Returned the balanced version of this transaction if possible
Returns None if the transaction cannot be balanced
source§impl<'a> Transaction<'a>
impl<'a> Transaction<'a>
Returns the tags attached to this transaction
Trait Implementations§
source§impl<'a, A: Clone> Clone for Transaction<'a, A>
impl<'a, A: Clone> Clone for Transaction<'a, A>
source§fn clone(&self) -> Transaction<'a, A>
fn clone(&self) -> Transaction<'a, A>
Returns a copy 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 more