Struct ethbind_json::Parameter
source · pub struct Parameter {
pub name: String,
pub type: Type,
pub components: Option<Vec<Parameter>>,
pub indexed: bool,
pub internal_type: Option<String>,
}Expand description
Handle Function/Event/Error ’s input or output parameter type
Fields§
§name: StringThe name of the parameter
type: TypeThe canonical type of the parameter
components: Option<Vec<Parameter>>used for tuple types, only if the type field start with prefix tuple. e.g, tupe[],tuple
indexed: boolThis field is only meaningful for Event or Error
internal_type: Option<String>Hardhat extension field
Trait Implementations§
source§impl<'de> Deserialize<'de> for Parameter
impl<'de> Deserialize<'de> for Parameter
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