#[non_exhaustive]pub struct Transaction<'ctx> {
pub date: NaiveDate,
pub postings: Box<'ctx, [Posting<'ctx>]>,
}
Expand description
Evaluated transaction, already processed to have right balance.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.date: NaiveDate
§postings: Box<'ctx, [Posting<'ctx>]>
Trait Implementations§
Source§impl<'ctx> Debug for Transaction<'ctx>
impl<'ctx> Debug for Transaction<'ctx>
Source§impl<'ctx> PartialEq for Transaction<'ctx>
impl<'ctx> PartialEq for Transaction<'ctx>
impl<'ctx> Eq for Transaction<'ctx>
impl<'ctx> StructuralPartialEq for Transaction<'ctx>
Auto Trait Implementations§
impl<'ctx> Freeze for Transaction<'ctx>
impl<'ctx> RefUnwindSafe for Transaction<'ctx>
impl<'ctx> Send for Transaction<'ctx>
impl<'ctx> Sync for Transaction<'ctx>
impl<'ctx> Unpin for Transaction<'ctx>
impl<'ctx> !UnwindSafe for Transaction<'ctx>
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