Struct ethers_core::abi::TopicFilter [−][src]
pub struct TopicFilter {
pub topic0: Topic<H256>,
pub topic1: Topic<H256>,
pub topic2: Topic<H256>,
pub topic3: Topic<H256>,
}
Expand description
Topic filter.
Fields
topic0: Topic<H256>
Usually (for not-anonymous transactions) the first topic is event signature.
topic1: Topic<H256>
Second topic.
topic2: Topic<H256>
Third topic.
topic3: Topic<H256>
Fourth topic.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more