pub enum AbiItem {
Function(AbiFunction),
Input(AbiInput),
}
Expand description
AbiItem
JSON schema
{
"oneOf": [
{
"$ref": "#/components/schemas/AbiFunction"
},
{
"$ref": "#/components/schemas/AbiInput"
}
]
}
Variants§
Function(AbiFunction)
Input(AbiInput)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AbiItem
impl<'de> Deserialize<'de> for AbiItem
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<AbiFunction> for AbiItem
impl From<AbiFunction> for AbiItem
Source§fn from(value: AbiFunction) -> Self
fn from(value: AbiFunction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AbiItem
impl RefUnwindSafe for AbiItem
impl Send for AbiItem
impl Sync for AbiItem
impl Unpin for AbiItem
impl UnwindSafe for AbiItem
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