pub enum LedgerEntryRequest<'a> {
Increment(AddIncrementCreditLedgerEntryRequestParams<'a>),
Void(AddVoidCreditLedgerEntryRequestParams<'a>),
}Expand description
The types of ledger entries that can be created.
Variants§
Increment(AddIncrementCreditLedgerEntryRequestParams<'a>)
Increment a credit balance
Void(AddVoidCreditLedgerEntryRequestParams<'a>)
Void an existing ledger entry
Trait Implementations§
Source§impl<'a> Clone for LedgerEntryRequest<'a>
impl<'a> Clone for LedgerEntryRequest<'a>
Source§fn clone(&self) -> LedgerEntryRequest<'a>
fn clone(&self) -> LedgerEntryRequest<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for LedgerEntryRequest<'a>
impl<'a> Debug for LedgerEntryRequest<'a>
Source§impl<'a> Hash for LedgerEntryRequest<'a>
impl<'a> Hash for LedgerEntryRequest<'a>
Source§impl<'a> PartialEq for LedgerEntryRequest<'a>
impl<'a> PartialEq for LedgerEntryRequest<'a>
Source§impl<'a> Serialize for LedgerEntryRequest<'a>
impl<'a> Serialize for LedgerEntryRequest<'a>
impl<'a> Eq for LedgerEntryRequest<'a>
impl<'a> StructuralPartialEq for LedgerEntryRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for LedgerEntryRequest<'a>
impl<'a> RefUnwindSafe for LedgerEntryRequest<'a>
impl<'a> Send for LedgerEntryRequest<'a>
impl<'a> Sync for LedgerEntryRequest<'a>
impl<'a> Unpin for LedgerEntryRequest<'a>
impl<'a> UnwindSafe for LedgerEntryRequest<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.