pub struct LocalizedLogEntry {
pub entry: LogEntry,
pub block_hash: H256,
pub epoch_number: BlockNumber,
pub block_timestamp: Option<u64>,
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: LogEntryPlain log entry.
block_hash: H256Block in which this log was created.
epoch_number: BlockNumberEpoch number.
block_timestamp: Option<u64>Timestamp of the block in which this log was created.
transaction_hash: H256Hash of transaction in which this log was created.
transaction_index: usizeIndex of transaction within block.
log_index: usizeLog position in the epoch.
transaction_log_index: usizeLog position in the transaction.
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§impl Deref for LocalizedLogEntry
impl Deref for LocalizedLogEntry
impl StructuralPartialEq for LocalizedLogEntry
Auto Trait Implementations§
impl Freeze for LocalizedLogEntry
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