Enum ledger_parser::LedgerItem
source · [−]#[non_exhaustive]
pub enum LedgerItem {
EmptyLine,
LineComment(String),
Transaction(Transaction),
CommodityPrice(CommodityPrice),
Include(String),
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EmptyLine
LineComment(String)
Transaction(Transaction)
CommodityPrice(CommodityPrice)
Include(String)
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LedgerItem
impl Send for LedgerItem
impl Sync for LedgerItem
impl Unpin for LedgerItem
impl UnwindSafe for LedgerItem
Blanket Implementations
Mutably borrows from an owned value. Read more