Enum okane_core::repl::LedgerEntry
source · pub enum LedgerEntry {
Txn(Transaction),
Comment(TopLevelComment),
ApplyTag(ApplyTag),
EndApplyTag,
Include(IncludeFile),
Account(AccountDeclaration),
Commodity(CommodityDeclaration),
}Expand description
Top-level entry of the LedgerFile.
Variants§
Txn(Transaction)
Transaction
Comment(TopLevelComment)
Comment, not limited to one-line oppose to Metadata.
ApplyTag(ApplyTag)
Apply tag directive.
EndApplyTag
“end apply tag” directive.
Include(IncludeFile)
“include” directive.
Account(AccountDeclaration)
“account” directive.
Commodity(CommodityDeclaration)
“commodity” directive.
Trait Implementations§
source§impl Debug for LedgerEntry
impl Debug for LedgerEntry
source§impl PartialEq for LedgerEntry
impl PartialEq for LedgerEntry
source§fn eq(&self, other: &LedgerEntry) -> bool
fn eq(&self, other: &LedgerEntry) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for LedgerEntry
impl StructuralEq for LedgerEntry
impl StructuralPartialEq for LedgerEntry
Auto Trait Implementations§
impl RefUnwindSafe for LedgerEntry
impl Send for LedgerEntry
impl Sync for LedgerEntry
impl Unpin for LedgerEntry
impl UnwindSafe for LedgerEntry
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