pub enum TreasuryReceivedDebitFailureCode {
AccountClosed,
AccountFrozen,
InsufficientFunds,
InternationalTransaction,
Other,
}
Expand description
Reason for the failure. A ReceivedDebit might fail because the FinancialAccount doesn’t have sufficient funds, is closed, or is frozen.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TreasuryReceivedDebitFailureCode
impl Clone for TreasuryReceivedDebitFailureCode
Source§fn clone(&self) -> TreasuryReceivedDebitFailureCode
fn clone(&self) -> TreasuryReceivedDebitFailureCode
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 FromValueOpt for TreasuryReceivedDebitFailureCode
impl FromValueOpt for TreasuryReceivedDebitFailureCode
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for TreasuryReceivedDebitFailureCode
impl PartialEq for TreasuryReceivedDebitFailureCode
Source§fn eq(&self, other: &TreasuryReceivedDebitFailureCode) -> bool
fn eq(&self, other: &TreasuryReceivedDebitFailureCode) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for TreasuryReceivedDebitFailureCode
impl Eq for TreasuryReceivedDebitFailureCode
impl StructuralPartialEq for TreasuryReceivedDebitFailureCode
Auto Trait Implementations§
impl Freeze for TreasuryReceivedDebitFailureCode
impl RefUnwindSafe for TreasuryReceivedDebitFailureCode
impl Send for TreasuryReceivedDebitFailureCode
impl Sync for TreasuryReceivedDebitFailureCode
impl Unpin for TreasuryReceivedDebitFailureCode
impl UnwindSafe for TreasuryReceivedDebitFailureCode
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