pub struct TransactionDetail {
pub transaction: Transaction,
pub note: Option<String>,
pub prices: Vec<Price>,
pub tags: Vec<Tag>,
pub splits: Vec<StoredSplit>,
}Expand description
A stored transaction as one complete read: header, prices, its own tags
(the note tag excluded, it is note) and the splits with their tags.
Fields§
§transaction: Transaction§note: Option<String>§prices: Vec<Price>§splits: Vec<StoredSplit>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TransactionDetail
impl RefUnwindSafe for TransactionDetail
impl Send for TransactionDetail
impl Sync for TransactionDetail
impl Unpin for TransactionDetail
impl UnsafeUnpin for TransactionDetail
impl UnwindSafe for TransactionDetail
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more