Struct tx_indexer::handler::chain_event::TransactionEventRecord
source · pub struct TransactionEventRecord {
pub hash: TransactionHash,
pub fee: u64,
pub size: u32,
pub inputs: Vec<TransactionInput>,
pub outputs: Vec<TxInInfo>,
pub mint: Value,
pub redeemers: HashMap<ScriptPurpose, Redeemer>,
pub plutus_data: HashMap<DatumHash, Datum>,
}
Expand description
Details on an transaction event (excluding unnecessary information).
Fields§
§hash: TransactionHash
§fee: u64
§size: u32
§inputs: Vec<TransactionInput>
§outputs: Vec<TxInInfo>
§mint: Value
§redeemers: HashMap<ScriptPurpose, Redeemer>
§plutus_data: HashMap<DatumHash, Datum>
Trait Implementations§
source§impl Clone for TransactionEventRecord
impl Clone for TransactionEventRecord
source§fn clone(&self) -> TransactionEventRecord
fn clone(&self) -> TransactionEventRecord
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 TransactionEventRecord
impl Debug for TransactionEventRecord
source§impl<'de> Deserialize<'de> for TransactionEventRecord
impl<'de> Deserialize<'de> for TransactionEventRecord
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 TransactionEventRecord
impl PartialEq for TransactionEventRecord
source§fn eq(&self, other: &TransactionEventRecord) -> bool
fn eq(&self, other: &TransactionEventRecord) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TransactionEventRecord
impl Serialize for TransactionEventRecord
impl Eq for TransactionEventRecord
impl StructuralPartialEq for TransactionEventRecord
Auto Trait Implementations§
impl Freeze for TransactionEventRecord
impl RefUnwindSafe for TransactionEventRecord
impl Send for TransactionEventRecord
impl Sync for TransactionEventRecord
impl Unpin for TransactionEventRecord
impl UnwindSafe for TransactionEventRecord
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request