Struct ex3_node_types::transaction::RejectedTransaction
source · pub struct RejectedTransaction {
pub tx: Transaction,
pub reason: TransactionRejectionReason,
}Fields§
§tx: Transaction§reason: TransactionRejectionReasonImplementations§
Trait Implementations§
source§impl Clone for RejectedTransaction
impl Clone for RejectedTransaction
source§fn clone(&self) -> RejectedTransaction
fn clone(&self) -> RejectedTransaction
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 RejectedTransaction
impl Debug for RejectedTransaction
source§impl From<&EncodedRejectedTransaction> for RejectedTransaction
impl From<&EncodedRejectedTransaction> for RejectedTransaction
source§fn from(encoded: &EncodedRejectedTransaction) -> Self
fn from(encoded: &EncodedRejectedTransaction) -> Self
Converts to this type from the input type.
source§impl From<&RejectedTransaction> for EncodedRejectedTransaction
impl From<&RejectedTransaction> for EncodedRejectedTransaction
source§fn from(rejected: &RejectedTransaction) -> Self
fn from(rejected: &RejectedTransaction) -> Self
Converts to this type from the input type.
source§impl From<EncodedRejectedTransaction> for RejectedTransaction
impl From<EncodedRejectedTransaction> for RejectedTransaction
source§fn from(encoded: EncodedRejectedTransaction) -> Self
fn from(encoded: EncodedRejectedTransaction) -> Self
Converts to this type from the input type.
source§impl From<RejectedTransaction> for EncodedRejectedTransaction
impl From<RejectedTransaction> for EncodedRejectedTransaction
source§fn from(rejected: RejectedTransaction) -> Self
fn from(rejected: RejectedTransaction) -> Self
Converts to this type from the input type.
source§impl PartialEq<RejectedTransaction> for RejectedTransaction
impl PartialEq<RejectedTransaction> for RejectedTransaction
source§fn eq(&self, other: &RejectedTransaction) -> bool
fn eq(&self, other: &RejectedTransaction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for RejectedTransaction
impl StructuralEq for RejectedTransaction
impl StructuralPartialEq for RejectedTransaction
Auto Trait Implementations§
impl RefUnwindSafe for RejectedTransaction
impl Send for RejectedTransaction
impl Sync for RejectedTransaction
impl Unpin for RejectedTransaction
impl UnwindSafe for RejectedTransaction
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