Struct parables_testing::prelude::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) -> H256[src] 
pub fn signature(&self) -> H256Event signature
pub fn filter(&self, raw: RawTopicFilter) -> Result<TopicFilter, Error>[src] 
pub fn filter(&self, raw: RawTopicFilter) -> Result<TopicFilter, Error>Creates topic filter
pub fn parse_log(&self, log: RawLog) -> Result<Log, Error>[src] 
pub fn parse_log(&self, log: RawLog) -> Result<Log, Error>Parses RawLog and retrieves all log params from it.
Trait Implementations
impl PartialEq<Event> for Event[src] 
impl PartialEq<Event> for Eventfn eq(&self, other: &Event) -> bool[src] 
fn eq(&self, other: &Event) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Event) -> bool[src] 
fn ne(&self, other: &Event) -> boolThis method tests for !=.
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<(), Error>[src] 
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl<'de> Deserialize<'de> for Event[src] 
impl<'de> Deserialize<'de> for Eventfn deserialize<__D>(
    __deserializer: __D
) -> Result<Event, <__D as Deserializer<'de>>::Error> where
    __D: Deserializer<'de>, [src] 
fn deserialize<__D>(
    __deserializer: __D
) -> Result<Event, <__D as Deserializer<'de>>::Error> where
    __D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more