Struct ethers::contract::builders::Event[][src]

pub struct Event<'a, M, D> {
    pub filter: Filter,
    // some fields omitted
}
Expand description

Helper for managing the event filter before querying or streaming its logs

Fields

filter: Filter

The event filter’s state

Implementations

Sets the filter’s from block

Sets the filter’s to block

Sets the filter’s blockHash. Setting this will override previously set from_block and to_block fields.

Sets the filter’s 0th topic (typically the event name for non-anonymous events)

Sets the filter’s 1st topic

Sets the filter’s 2nd topic

Sets the filter’s 3rd topic

Returns a stream for the event

Returns a subscription for the event

Queries the blockchain for the selected filter and returns a vector of matching event logs

Queries the blockchain for the selected filter and returns a vector of logs along with their metadata

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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