pub struct AddVoidCreditLedgerEntryRequestParams<'a> {
pub amount: Number,
pub block_id: &'a str,
pub void_reason: Option<VoidReason>,
pub description: Option<&'a str>,
}Expand description
The parameters used to void a customer credit ledger entry.
Fields§
§amount: NumberThe number of credits to void.
block_id: &'a strThe ID of the credit ledger block to void.
void_reason: Option<VoidReason>An optional reason for the void.
description: Option<&'a str>An optional description for the void operation.
Trait Implementations§
Source§impl<'a> Clone for AddVoidCreditLedgerEntryRequestParams<'a>
impl<'a> Clone for AddVoidCreditLedgerEntryRequestParams<'a>
Source§fn clone(&self) -> AddVoidCreditLedgerEntryRequestParams<'a>
fn clone(&self) -> AddVoidCreditLedgerEntryRequestParams<'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 AddVoidCreditLedgerEntryRequestParams<'a>
impl<'a> Debug for AddVoidCreditLedgerEntryRequestParams<'a>
Source§impl<'a> Hash for AddVoidCreditLedgerEntryRequestParams<'a>
impl<'a> Hash for AddVoidCreditLedgerEntryRequestParams<'a>
Source§impl<'a> PartialEq for AddVoidCreditLedgerEntryRequestParams<'a>
impl<'a> PartialEq for AddVoidCreditLedgerEntryRequestParams<'a>
Source§fn eq(&self, other: &AddVoidCreditLedgerEntryRequestParams<'a>) -> bool
fn eq(&self, other: &AddVoidCreditLedgerEntryRequestParams<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> Serialize for AddVoidCreditLedgerEntryRequestParams<'a>
impl<'a> Serialize for AddVoidCreditLedgerEntryRequestParams<'a>
impl<'a> Eq for AddVoidCreditLedgerEntryRequestParams<'a>
impl<'a> StructuralPartialEq for AddVoidCreditLedgerEntryRequestParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for AddVoidCreditLedgerEntryRequestParams<'a>
impl<'a> RefUnwindSafe for AddVoidCreditLedgerEntryRequestParams<'a>
impl<'a> Send for AddVoidCreditLedgerEntryRequestParams<'a>
impl<'a> Sync for AddVoidCreditLedgerEntryRequestParams<'a>
impl<'a> Unpin for AddVoidCreditLedgerEntryRequestParams<'a>
impl<'a> UnwindSafe for AddVoidCreditLedgerEntryRequestParams<'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.