pub struct AbiParameter {
pub components: Vec<Map<String, Value>>,
pub indexed: Option<bool>,
pub internal_type: Option<String>,
pub name: Option<String>,
pub type_: String,
}Expand description
A parameter in a Solidity ABI function or event definition.
JSON schema
{
"title": "AbiParameter",
"description": "A parameter in a Solidity ABI function or event
definition.",
"type": "object",
"required": [
"type"
],
"properties": {
"components": {
"type": "array",
"items": {
"description": "Nested recursive array of AbiParameter objects.",
"type": "object",
"additionalProperties": true
}
},
"indexed": {
"type": "boolean"
},
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"x-stainless-model": "policies.abi_parameter"
}Fields§
§components: Vec<Map<String, Value>>§indexed: Option<bool>§internal_type: Option<String>§name: Option<String>§type_: StringTrait Implementations§
Source§impl Clone for AbiParameter
impl Clone for AbiParameter
Source§fn clone(&self) -> AbiParameter
fn clone(&self) -> AbiParameter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AbiParameter
impl Debug for AbiParameter
Source§impl<'de> Deserialize<'de> for AbiParameter
impl<'de> Deserialize<'de> for AbiParameter
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
Source§impl From<&AbiParameter> for AbiParameter
impl From<&AbiParameter> for AbiParameter
Source§fn from(value: &AbiParameter) -> Self
fn from(value: &AbiParameter) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AbiParameter
impl RefUnwindSafe for AbiParameter
impl Send for AbiParameter
impl Sync for AbiParameter
impl Unpin for AbiParameter
impl UnsafeUnpin for AbiParameter
impl UnwindSafe for AbiParameter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more