Struct ethabi::Interface
[−]
[src]
pub struct Interface(_);
Contract interface.
Methods
impl Interface
[src]
fn load(bytes: &[u8]) -> Result<Self, Error>
Loads interface from json.
fn constructor(&self) -> Option<Constructor>
Returns contract constructor specification.
fn function(&self, name: String) -> Option<Function>
Returns specification of contract function.
fn event(&self, name: String) -> Option<Event>
Returns specification of contract event.
fn operations(&self) -> Operations
Get an iterator over all operations of the contract.
Trait Implementations
impl Clone for Interface
[src]
fn clone(&self) -> Interface
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more