pub struct ReceiptMeta {
pub block_id: U256,
pub block_number: u32,
pub block_timestamp: u32,
pub tx_id: U256,
pub tx_origin: Address,
}
Expand description
Transaction receipt metadata
Fields§
§block_id: U256
Block identifier
block_number: u32
Block number (height)
block_timestamp: u32
Block unix timestamp
tx_id: U256
Transaction identifier
tx_origin: Address
Transaction origin (signer)
Trait Implementations§
Source§impl Clone for ReceiptMeta
impl Clone for ReceiptMeta
Source§fn clone(&self) -> ReceiptMeta
fn clone(&self) -> ReceiptMeta
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 ReceiptMeta
impl Debug for ReceiptMeta
Source§impl<'de> Deserialize<'de> for ReceiptMeta
impl<'de> Deserialize<'de> for ReceiptMeta
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 ReceiptMeta
impl PartialEq for ReceiptMeta
Source§impl Serialize for ReceiptMeta
impl Serialize for ReceiptMeta
impl StructuralPartialEq for ReceiptMeta
Auto Trait Implementations§
impl Freeze for ReceiptMeta
impl RefUnwindSafe for ReceiptMeta
impl Send for ReceiptMeta
impl Sync for ReceiptMeta
impl Unpin for ReceiptMeta
impl UnwindSafe for ReceiptMeta
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
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