Struct lumi::Transaction [−][src]
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.
pub fn links(&self) -> &Vec<Link>
[src]
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]
fn clone(&self) -> Transaction
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Transaction
[src]
impl Display for Transaction
[src]
impl Eq for Transaction
[src]
impl PartialEq<Transaction> for Transaction
[src]
fn eq(&self, other: &Transaction) -> bool
[src]
fn ne(&self, other: &Transaction) -> bool
[src]
impl StructuralEq for Transaction
[src]
impl StructuralPartialEq for Transaction
[src]
Auto Trait Implementations
impl RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl UnwindSafe for Transaction
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,