Struct primitives::log_entry::LocalizedLogEntry
source · pub struct LocalizedLogEntry {
pub entry: LogEntry,
pub block_hash: H256,
pub epoch_number: BlockNumber,
pub transaction_hash: H256,
pub transaction_index: usize,
pub log_index: usize,
pub transaction_log_index: usize,
}
Expand description
Log localized in a blockchain.
Fields§
§entry: LogEntry
Plain log entry.
block_hash: H256
Block in which this log was created.
epoch_number: BlockNumber
Epoch number.
transaction_hash: H256
Hash of transaction in which this log was created.
transaction_index: usize
Index of transaction within block.
log_index: usize
Log position in the epoch.
transaction_log_index: usize
Log position in the transaction.
Methods from Deref<Target = LogEntry>§
Trait Implementations§
source§impl Clone for LocalizedLogEntry
impl Clone for LocalizedLogEntry
source§fn clone(&self) -> LocalizedLogEntry
fn clone(&self) -> LocalizedLogEntry
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 LocalizedLogEntry
impl Debug for LocalizedLogEntry
source§impl Default for LocalizedLogEntry
impl Default for LocalizedLogEntry
source§fn default() -> LocalizedLogEntry
fn default() -> LocalizedLogEntry
Returns the “default value” for a type. Read more
source§impl PartialEq for LocalizedLogEntry
impl PartialEq for LocalizedLogEntry
source§fn eq(&self, other: &LocalizedLogEntry) -> bool
fn eq(&self, other: &LocalizedLogEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Deref for LocalizedLogEntry
impl Deref for LocalizedLogEntry
impl StructuralPartialEq for LocalizedLogEntry
Auto Trait Implementations§
impl RefUnwindSafe for LocalizedLogEntry
impl Send for LocalizedLogEntry
impl Sync for LocalizedLogEntry
impl Unpin for LocalizedLogEntry
impl UnwindSafe for LocalizedLogEntry
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