pub enum LedgerEntry<'i, Deco: Decoration> {
Txn(Transaction<'i, Deco>),
Comment(TopLevelComment<'i>),
ApplyTag(ApplyTag<'i>),
EndApplyTag,
Include(IncludeFile<'i>),
Account(AccountDeclaration<'i>),
Commodity(CommodityDeclaration<'i>),
}
Expand description
Top-level entry of the LedgerFile.
Variants§
Txn(Transaction<'i, Deco>)
Transaction
Comment(TopLevelComment<'i>)
Comment, not limited to one-line oppose to Metadata
.
ApplyTag(ApplyTag<'i>)
Apply tag directive.
EndApplyTag
“end apply tag” directive.
Include(IncludeFile<'i>)
“include” directive.
Account(AccountDeclaration<'i>)
“account” directive.
Commodity(CommodityDeclaration<'i>)
“commodity” directive.
Trait Implementations§
Source§impl<'i, Deco: Decoration> AsUndecorated<LedgerEntry<'i, Deco>> for LedgerEntry<'i, Deco>
impl<'i, Deco: Decoration> AsUndecorated<LedgerEntry<'i, Deco>> for LedgerEntry<'i, Deco>
fn as_undecorated(&self) -> &LedgerEntry<'i, Deco>
Source§impl<'i, Deco: Decoration> Debug for LedgerEntry<'i, Deco>
impl<'i, Deco: Decoration> Debug for LedgerEntry<'i, Deco>
Source§impl<'i, Deco: Decoration> PartialEq for LedgerEntry<'i, Deco>
impl<'i, Deco: Decoration> PartialEq for LedgerEntry<'i, Deco>
impl<'i, Deco: Decoration> Eq for LedgerEntry<'i, Deco>
Auto Trait Implementations§
impl<'i, Deco> Freeze for LedgerEntry<'i, Deco>
impl<'i, Deco> RefUnwindSafe for LedgerEntry<'i, Deco>
impl<'i, Deco> Send for LedgerEntry<'i, Deco>
impl<'i, Deco> Sync for LedgerEntry<'i, Deco>
impl<'i, Deco> Unpin for LedgerEntry<'i, Deco>
impl<'i, Deco> UnwindSafe for LedgerEntry<'i, Deco>
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