pub enum AccountingOperation {
Transaction {
transaction: Transaction,
},
Dispute {
client_id: ClientId,
ref_id: TransactionId,
},
Resolve {
client_id: ClientId,
ref_id: TransactionId,
},
Chargeback {
client_id: ClientId,
ref_id: TransactionId,
},
}
Expand description
Represents an accounting operation that can be applied to the accounting system.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AccountingOperation
impl RefUnwindSafe for AccountingOperation
impl Send for AccountingOperation
impl Sync for AccountingOperation
impl Unpin for AccountingOperation
impl UnwindSafe for AccountingOperation
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