pub struct AbiParam {
pub name: String,
pub param_type: String,
pub indexed: bool,
pub components: Vec<AbiParam>,
}Expand description
An ABI parameter (input or output).
Fields§
§name: StringParameter name.
param_type: StringSolidity type (e.g., “uint256”, “address”, “bytes32”).
indexed: boolWhether this is an indexed event parameter.
components: Vec<AbiParam>Tuple components (for tuple types).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AbiParam
impl<'de> Deserialize<'de> for AbiParam
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
Auto Trait Implementations§
impl Freeze for AbiParam
impl RefUnwindSafe for AbiParam
impl Send for AbiParam
impl Sync for AbiParam
impl Unpin for AbiParam
impl UnsafeUnpin for AbiParam
impl UnwindSafe for AbiParam
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