pub struct Posting {
pub account: AccountName,
pub amount: Option<Amount>,
pub meta: Metadata,
}Expand description
One account-side movement within a transaction.
Fields§
§account: AccountNameAccount affected by the posting.
amount: Option<Amount>Amount and commodity. None may be inferred during validation when
there is exactly one missing posting amount.
meta: MetadataMetadata attached to the posting.
Trait Implementations§
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 UnsafeUnpin 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