Struct parables_testing::prelude::ethabi::Constructor [−][src]
Contract constructor specification.
Fields
inputs: Vec<Param>
Constructor input.
Methods
impl Constructor
[src]
impl Constructor
pub fn encode_input(
&self,
code: Vec<u8>,
tokens: &[Token]
) -> Result<Vec<u8>, Error>
[src]
pub fn encode_input(
&self,
code: Vec<u8>,
tokens: &[Token]
) -> Result<Vec<u8>, Error>
Prepares ABI constructor call with given input params.
Trait Implementations
impl PartialEq<Constructor> for Constructor
[src]
impl PartialEq<Constructor> 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 !=
.
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 Debug for Constructor
[src]
impl Debug for Constructor
fn 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 Constructor
[src]
impl<'de> Deserialize<'de> for Constructor
fn deserialize<__D>(
__deserializer: __D
) -> Result<Constructor, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<Constructor, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl Send for Constructor
impl Send for Constructor
impl Sync for Constructor
impl Sync for Constructor