Struct ethabi::Constructor [−][src]
Contract constructor specification.
Fields
inputs: Vec<Param>
Constructor input.
Methods
impl Constructor[src]
impl Constructorpub 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 Constructorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Constructor[src]
impl Clone for Constructorfn clone(&self) -> Constructor[src]
fn clone(&self) -> ConstructorReturns 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 Constructorfn eq(&self, other: &Constructor) -> bool[src]
fn eq(&self, other: &Constructor) -> boolThis 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) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for Constructor
impl Send for Constructorimpl Sync for Constructor
impl Sync for Constructor