Struct ethabi::Constructor
[−]
[src]
pub struct Constructor { pub inputs: Vec<Param>, }
Contract constructor specification.
Fields
inputs: Vec<Param>
Constructor input.
Methods
impl Constructor
[src]
fn encode_input(&self, code: Bytes, tokens: &[Token]) -> Result<Bytes>
[src]
Prepares ABI constructor call with given input params.
Trait Implementations
impl Debug for Constructor
[src]
impl Clone for Constructor
[src]
fn clone(&self) -> Constructor
[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
impl PartialEq for Constructor
[src]
fn eq(&self, __arg_0: &Constructor) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Constructor) -> bool
[src]
This method tests for !=
.