pub struct TxLog {
pub address: String,
pub topics: Vec<String>,
pub data: String,
pub block_number: i32,
pub transaction_hash: String,
pub transaction_index: i32,
pub block_hash: String,
pub log_index: i32,
pub removed: bool,
}
Fields§
§address: String
The log address
topics: Vec<String>
Array of log topics
data: String
The log data
block_number: i32
Block number where the log occurred
transaction_hash: String
Transaction hash associated with the log
transaction_index: i32
Transaction index in the block
block_hash: String
The hash of the block
log_index: i32
Log index in the block
removed: bool
Indicates if the log was removed
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TxLog
impl<'de> Deserialize<'de> for TxLog
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
impl StructuralPartialEq for TxLog
Auto Trait Implementations§
impl Freeze for TxLog
impl RefUnwindSafe for TxLog
impl Send for TxLog
impl Sync for TxLog
impl Unpin for TxLog
impl UnwindSafe for TxLog
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