pub enum TransactionRejectionReason {
InsufficientBalance,
DuplicateSecretKey,
}Variants§
Trait Implementations§
source§impl Clone for TransactionRejectionReason
impl Clone for TransactionRejectionReason
source§fn clone(&self) -> TransactionRejectionReason
fn clone(&self) -> TransactionRejectionReason
Returns a copy 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 Debug for TransactionRejectionReason
impl Debug for TransactionRejectionReason
source§impl<'de> Deserialize<'de> for TransactionRejectionReason
impl<'de> Deserialize<'de> for TransactionRejectionReason
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for TransactionRejectionReason
impl PartialEq for TransactionRejectionReason
source§fn eq(&self, other: &TransactionRejectionReason) -> bool
fn eq(&self, other: &TransactionRejectionReason) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for TransactionRejectionReason
impl StructuralEq for TransactionRejectionReason
impl StructuralPartialEq for TransactionRejectionReason
Auto Trait Implementations§
impl RefUnwindSafe for TransactionRejectionReason
impl Send for TransactionRejectionReason
impl Sync for TransactionRejectionReason
impl Unpin for TransactionRejectionReason
impl UnwindSafe for TransactionRejectionReason
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