Struct lumi::Transaction[][src]

pub struct Transaction { /* fields omitted */ }

Represents a transaction, or a pad directives, or a balance directive in the source file.

Implementations

impl Transaction[src]

pub fn payee(&self) -> &Payee[src]

Returns the payee.

pub fn narration(&self) -> &Narration[src]

Returns the narration.

Returns the links.

pub fn tags(&self) -> &Vec<Tag>[src]

Returns the tags.

pub fn meta(&self) -> &Meta[src]

Returns the meta data associated with this transaction.

pub fn postings(&self) -> &Vec<Posting>[src]

Returns the postings of this transaction.

pub fn src(&self) -> &Source[src]

Returns the source of this transaction.

impl Transaction[src]

pub fn date(&self) -> NaiveDate[src]

Returns the transaction date.

pub fn flag(&self) -> TxnFlag[src]

Returns the transaction flag.

Trait Implementations

impl Clone for Transaction[src]

impl Debug for Transaction[src]

impl Display for Transaction[src]

impl Eq for Transaction[src]

impl PartialEq<Transaction> for Transaction[src]

impl StructuralEq for Transaction[src]

impl StructuralPartialEq for Transaction[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.