pub enum LedgerStatement<'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 statement 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<LedgerStatement<'i, Deco>> for LedgerStatement<'i, Deco>
impl<'i, Deco: Decoration> AsUndecorated<LedgerStatement<'i, Deco>> for LedgerStatement<'i, Deco>
fn as_undecorated(&self) -> &LedgerStatement<'i, Deco>
Source§impl<'i, Deco: Decoration> Debug for LedgerStatement<'i, Deco>
impl<'i, Deco: Decoration> Debug for LedgerStatement<'i, Deco>
impl<'i, Deco: Decoration> Eq for LedgerStatement<'i, Deco>
Auto Trait Implementations§
impl<'i, Deco> Freeze for LedgerStatement<'i, Deco>where
Transaction<'i, Deco>: Freeze,
impl<'i, Deco> RefUnwindSafe for LedgerStatement<'i, Deco>where
Transaction<'i, Deco>: RefUnwindSafe,
impl<'i, Deco> Send for LedgerStatement<'i, Deco>where
Transaction<'i, Deco>: Send,
impl<'i, Deco> Sync for LedgerStatement<'i, Deco>where
Transaction<'i, Deco>: Sync,
impl<'i, Deco> Unpin for LedgerStatement<'i, Deco>where
Transaction<'i, Deco>: Unpin,
impl<'i, Deco> UnsafeUnpin for LedgerStatement<'i, Deco>where
Transaction<'i, Deco>: UnsafeUnpin,
impl<'i, Deco> UnwindSafe for LedgerStatement<'i, Deco>where
Transaction<'i, Deco>: UnwindSafe,
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