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]
impl Eventpub fn signature(&self) -> Hash[src]
pub fn signature(&self) -> HashEvent signature
pub fn create_filter(&self, raw: RawTopicFilter) -> Result<TopicFilter>[src]
pub fn create_filter(&self, raw: RawTopicFilter) -> Result<TopicFilter>Creates topic filter
pub fn parse_log(&self, log: RawLog) -> Result<Log>[src]
pub fn parse_log(&self, log: RawLog) -> Result<Log>Parses RawLog and retrieves all log params from it.
Trait Implementations
impl Clone for Event[src]
impl Clone for Eventfn clone(&self) -> Event[src]
fn clone(&self) -> EventReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Event[src]
impl Debug for Eventfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Event[src]
impl PartialEq for Event