pub struct TransactionEvent {
pub nft: Option<NftEvent>,
pub swap: Option<SwapEvent>,
pub compressed: Option<Vec<CompressedNftEvent>>,
pub set_authority: Option<Vec<Authority>>,
}Expand description
Structured event data extracted from an EnhancedTransaction.
Events are high-level interpretations of what happened in a transaction, such as NFT sales, token swaps, compressed NFT operations, or authority changes.
Fields§
§nft: Option<NftEvent>An NFT marketplace event (sale, listing, bid, etc.), if detected
swap: Option<SwapEvent>A token swap event (DEX trade), if detected
compressed: Option<Vec<CompressedNftEvent>>Compressed NFT events (mint, transfer, burn, etc.), if detected
Authority change events, if detected
Trait Implementations§
Source§impl Debug for TransactionEvent
impl Debug for TransactionEvent
Source§impl Default for TransactionEvent
impl Default for TransactionEvent
Source§fn default() -> TransactionEvent
fn default() -> TransactionEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransactionEvent
impl<'de> Deserialize<'de> for TransactionEvent
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
Auto Trait Implementations§
impl Freeze for TransactionEvent
impl RefUnwindSafe for TransactionEvent
impl Send for TransactionEvent
impl Sync for TransactionEvent
impl Unpin for TransactionEvent
impl UnsafeUnpin for TransactionEvent
impl UnwindSafe for TransactionEvent
Blanket Implementations§
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> 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