pub struct Posting {
pub account: Account,
pub amount: Amount,
pub cost: Option<UnitCost>,
pub price: Option<Price>,
pub meta: Meta,
pub src: Source,
}Expand description
A posting like Assets::Bank -100 JPY inside a Transaction.
Fields§
§account: Account§amount: Amount§cost: Option<UnitCost>§price: Option<Price>§meta: Meta§src: SourceTrait Implementations§
impl Eq for Posting
impl StructuralPartialEq for Posting
Auto Trait Implementations§
impl Freeze for Posting
impl RefUnwindSafe for Posting
impl Send for Posting
impl Sync for Posting
impl Unpin for Posting
impl UnwindSafe for Posting
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