Struct ledger_parser::Ledger
source · pub struct Ledger {
pub items: Vec<LedgerItem>,
}
Expand description
Main document. Contains transactions and/or commodity prices.
Fields§
§items: Vec<LedgerItem>
Trait Implementations§
source§impl PartialEq for Ledger
impl PartialEq for Ledger
source§impl Serializer for Ledger
impl Serializer for Ledger
fn write<W>(
&self,
writer: &mut W,
settings: &SerializerSettings
) -> Result<(), Error>where
W: Write,
fn to_string_pretty(&self, settings: &SerializerSettings) -> String
impl Eq 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§
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