Struct beancount_parser_lima::types::Posting
source · pub struct Posting<'a> { /* private fields */ }Expand description
A single posting within a Transaction.
Implementations§
source§impl<'a> Posting<'a>
impl<'a> Posting<'a>
sourcepub fn price_annotation(&self) -> Option<&Spanned<ScopedAmount<'_>>>
pub fn price_annotation(&self) -> Option<&Spanned<ScopedAmount<'_>>>
Field accessor.
Trait Implementations§
source§impl<'a> ElementType for Posting<'a>
impl<'a> ElementType for Posting<'a>
fn element_type(&self) -> &'static str
source§impl<'a> PartialEq for Posting<'a>
impl<'a> PartialEq for Posting<'a>
impl<'a> Eq for Posting<'a>
impl<'a> StructuralPartialEq for Posting<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Posting<'a>
impl<'a> Send for Posting<'a>
impl<'a> Sync for Posting<'a>
impl<'a> Unpin for Posting<'a>
impl<'a> UnwindSafe for Posting<'a>
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more