pub struct Log {
pub address: Address,
pub topics: Vec<H256>,
pub data: Vec<u8>,
}
Fields§
§address: Address
§topics: Vec<H256>
§data: Vec<u8>
Trait Implementations§
Source§impl Decodable for Log
impl Decodable for Log
Source§fn decode(rlp: &UntrustedRlp<'_>) -> Result<Self, DecoderError>
fn decode(rlp: &UntrustedRlp<'_>) -> Result<Self, DecoderError>
Decode a value from RLP bytes
Source§impl Encodable for Log
impl Encodable for Log
Source§fn rlp_append(&self, s: &mut RlpStream)
fn rlp_append(&self, s: &mut RlpStream)
Append a value to the stream
Source§fn rlp_bytes(&self) -> ElasticArray1024<u8>
fn rlp_bytes(&self) -> ElasticArray1024<u8>
Get rlp-encoded bytes for this instance
impl Eq for Log
impl StructuralPartialEq for Log
Auto Trait Implementations§
impl Freeze for Log
impl RefUnwindSafe for Log
impl Send for Log
impl Sync for Log
impl Unpin for Log
impl UnwindSafe for Log
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