Enum ledger_parser::LedgerItem [−][src]
#[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)
Tuple Fields
0: String
Transaction(Transaction)
Tuple Fields
0: Transaction
CommodityPrice(CommodityPrice)
Tuple Fields
Include(String)
Tuple Fields
0: 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