pub struct EventTransactionLog {
pub address: Address,
pub topics: Vec<B256>,
pub data: Bytes,
}
Expand description
A log produced by a transaction.
Fields§
§address: Address
The address of the contract that emitted the log
topics: Vec<B256>
Topics of the log
(In solidity: The first topic is the hash of the signature of the event
(e.g. Deposit(address,bytes32,uint256)
), except you declared the event
with the anonymous specifier.)
data: Bytes
The data of the log
Trait Implementations§
Source§impl Clone for EventTransactionLog
impl Clone for EventTransactionLog
Source§fn clone(&self) -> EventTransactionLog
fn clone(&self) -> EventTransactionLog
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 EventTransactionLog
impl Debug for EventTransactionLog
Source§impl Default for EventTransactionLog
impl Default for EventTransactionLog
Source§fn default() -> EventTransactionLog
fn default() -> EventTransactionLog
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventTransactionLog
impl<'de> Deserialize<'de> for EventTransactionLog
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 Hash for EventTransactionLog
impl Hash for EventTransactionLog
Source§impl PartialEq for EventTransactionLog
impl PartialEq for EventTransactionLog
Source§impl Serialize for EventTransactionLog
impl Serialize for EventTransactionLog
impl Eq for EventTransactionLog
impl StructuralPartialEq for EventTransactionLog
Auto Trait Implementations§
impl !Freeze for EventTransactionLog
impl RefUnwindSafe for EventTransactionLog
impl Send for EventTransactionLog
impl Sync for EventTransactionLog
impl Unpin for EventTransactionLog
impl UnwindSafe for EventTransactionLog
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)