Struct ethbind_json::Constructor
source · pub struct Constructor {
pub inputs: Vec<Parameter>,
pub state_mutability: StateMutability,
}
Expand description
A structure type to represent constructor
abi
Fields§
§inputs: Vec<Parameter>
An array of function’s input params
state_mutability: StateMutability
a string with one of the following values: pure (specified to not read blockchain state), view (specified to not modify the blockchain state), nonpayable (function does not accept Ether - the default) and payable (function accepts Ether)
Trait Implementations§
source§impl Debug for Constructor
impl Debug for Constructor
source§impl<'de> Deserialize<'de> for Constructor
impl<'de> Deserialize<'de> for Constructor
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more