Struct ethabi::Event
[−]
[src]
pub struct Event { pub name: String, pub inputs: Vec<EventParam>, pub anonymous: bool, }
Contract event.
Fields
name: String
Event name.
inputs: Vec<EventParam>
Event input.
anonymous: bool
If anonymous, event cannot be found using from
filter.
Methods
impl Event
[src]
fn signature(&self) -> Hash
[src]
Event signature
fn create_filter(&self, raw: RawTopicFilter) -> Result<TopicFilter>
[src]
Creates topic filter
fn parse_log(&self, log: RawLog) -> Result<Log>
[src]
Parses RawLog
and retrieves all log params from it.
Trait Implementations
impl Clone for Event
[src]
fn clone(&self) -> Event
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more