pub struct EnrichedTransaction {Show 13 fields
pub description: String,
pub transaction_type: TransactionType,
pub source: Source,
pub fee: Number,
pub fee_payer: String,
pub signature: String,
pub slot: Number,
pub native_transfers: Option<Vec<NativeTransfer>>,
pub token_transfers: Option<Vec<TokenTransfer>>,
pub account_data: Vec<AccountData>,
pub transaction_error: Option<TransactionError>,
pub instructions: Vec<Instruction>,
pub events: TransactionEvent,
}
Fields§
§description: String
§transaction_type: TransactionType
§source: Source
§fee: Number
§fee_payer: String
§signature: String
§slot: Number
§native_transfers: Option<Vec<NativeTransfer>>
§token_transfers: Option<Vec<TokenTransfer>>
§account_data: Vec<AccountData>
§transaction_error: Option<TransactionError>
§instructions: Vec<Instruction>
§events: TransactionEvent
Trait Implementations§
Source§impl Clone for EnrichedTransaction
impl Clone for EnrichedTransaction
Source§fn clone(&self) -> EnrichedTransaction
fn clone(&self) -> EnrichedTransaction
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 Debug for EnrichedTransaction
impl Debug for EnrichedTransaction
Source§impl<'de> Deserialize<'de> for EnrichedTransaction
impl<'de> Deserialize<'de> for EnrichedTransaction
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 EnrichedTransaction
impl PartialEq for EnrichedTransaction
Source§impl Serialize for EnrichedTransaction
impl Serialize for EnrichedTransaction
impl StructuralPartialEq for EnrichedTransaction
Auto Trait Implementations§
impl Freeze for EnrichedTransaction
impl RefUnwindSafe for EnrichedTransaction
impl Send for EnrichedTransaction
impl Sync for EnrichedTransaction
impl Unpin for EnrichedTransaction
impl UnwindSafe for EnrichedTransaction
Blanket Implementations§
Source§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, _digester: &mut AbiDigester, ) -> Result<AbiDigester, DigestError>
Source§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, digester: &mut AbiDigester, ) -> Result<AbiDigester, DigestError>
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more