pub struct RefundJournalProjection { /* private fields */ }Implementations§
Source§impl RefundJournalProjection
impl RefundJournalProjection
pub fn try_new( accounts: AccountingAccounts, ledger: PaymentLedger, amount: Money, journal: BalancedJournalEntry, ) -> DomainResult<Self>
Source§impl RefundJournalProjection
impl RefundJournalProjection
pub fn accounts(&self) -> <AccountingAccounts as FieldAccess>::Output<'_>
pub fn ledger(&self) -> <PaymentLedger as FieldAccess>::Output<'_>
pub fn amount(&self) -> <Money as FieldAccess>::Output<'_>
pub fn journal(&self) -> <BalancedJournalEntry as FieldAccess>::Output<'_>
Trait Implementations§
Source§impl Clone for RefundJournalProjection
impl Clone for RefundJournalProjection
Source§fn clone(&self) -> RefundJournalProjection
fn clone(&self) -> RefundJournalProjection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RefundJournalProjection
impl Debug for RefundJournalProjection
Source§impl PartialEq for RefundJournalProjection
impl PartialEq for RefundJournalProjection
Source§fn eq(&self, other: &RefundJournalProjection) -> bool
fn eq(&self, other: &RefundJournalProjection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RefundJournalProjection
impl StructuralPartialEq for RefundJournalProjection
Auto Trait Implementations§
impl Freeze for RefundJournalProjection
impl RefUnwindSafe for RefundJournalProjection
impl Send for RefundJournalProjection
impl Sync for RefundJournalProjection
impl Unpin for RefundJournalProjection
impl UnsafeUnpin for RefundJournalProjection
impl UnwindSafe for RefundJournalProjection
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