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