Struct ethers::abi::TopicFilter [−]
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
impl Debug for TopicFilter
impl Debug for TopicFilter
impl Default for TopicFilter
impl Default for TopicFilter
pub fn default() -> TopicFilter
pub fn default() -> TopicFilter
Returns the “default value” for a type. Read more
impl PartialEq<TopicFilter> for TopicFilter
impl PartialEq<TopicFilter> for TopicFilter
pub fn eq(&self, other: &TopicFilter) -> bool
pub fn eq(&self, other: &TopicFilter) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &TopicFilter) -> bool
pub fn ne(&self, other: &TopicFilter) -> bool
This method tests for !=
.
impl Serialize for TopicFilter
impl Serialize for TopicFilter
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
impl StructuralPartialEq for TopicFilter
Auto Trait Implementations
impl RefUnwindSafe for TopicFilter
impl Send for TopicFilter
impl Sync for TopicFilter
impl Unpin for TopicFilter
impl UnwindSafe for TopicFilter
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more