Struct ledger_parser::Ledger
source · pub struct Ledger {
pub transactions: Vec<Transaction>,
pub commodity_prices: Vec<CommodityPrice>,
}
Expand description
Main document. Contains transactions and/or commodity prices.
Fields
transactions: Vec<Transaction>
commodity_prices: Vec<CommodityPrice>
Trait Implementations
impl Eq for Ledger
impl StructuralEq for Ledger
impl StructuralPartialEq for Ledger
Auto Trait Implementations
impl RefUnwindSafe for Ledger
impl Send for Ledger
impl Sync for Ledger
impl Unpin for Ledger
impl UnwindSafe for Ledger
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more