pub enum Directive {
ConfigCustom(ConfigCustom),
Commodity(Commodity),
Open(Open),
Close(Close),
Balance(Balance),
Pad(Pad),
Price(Price),
Document(Document),
Note(Note),
Query(Query),
Transaction(Transaction),
}Expand description
The “ledger” is made up of Directives Most operations will be done by looping through a Vec of these
Variants§
ConfigCustom(ConfigCustom)
Commodity(Commodity)
Open(Open)
Close(Close)
Balance(Balance)
Pad(Pad)
Price(Price)
Document(Document)
Note(Note)
Query(Query)
Transaction(Transaction)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Directive
impl RefUnwindSafe for Directive
impl Send for Directive
impl Sync for Directive
impl Unpin for Directive
impl UnwindSafe for Directive
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