pub enum AbiSchemaItemType {
Constructor,
Event,
Fallback,
Function,
Receive,
}Expand description
AbiSchemaItemType
JSON schema
{
"type": "string",
"enum": [
"constructor",
"event",
"fallback",
"function",
"receive"
]
}Variants§
Trait Implementations§
Source§impl Clone for AbiSchemaItemType
impl Clone for AbiSchemaItemType
Source§fn clone(&self) -> AbiSchemaItemType
fn clone(&self) -> AbiSchemaItemType
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 moreimpl Copy for AbiSchemaItemType
Source§impl Debug for AbiSchemaItemType
impl Debug for AbiSchemaItemType
Source§impl<'de> Deserialize<'de> for AbiSchemaItemType
impl<'de> Deserialize<'de> for AbiSchemaItemType
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 Display for AbiSchemaItemType
impl Display for AbiSchemaItemType
impl Eq for AbiSchemaItemType
Source§impl From<&AbiSchemaItemType> for AbiSchemaItemType
impl From<&AbiSchemaItemType> for AbiSchemaItemType
Source§fn from(value: &AbiSchemaItemType) -> Self
fn from(value: &AbiSchemaItemType) -> Self
Converts to this type from the input type.
Source§impl FromStr for AbiSchemaItemType
impl FromStr for AbiSchemaItemType
Source§impl Hash for AbiSchemaItemType
impl Hash for AbiSchemaItemType
Source§impl Ord for AbiSchemaItemType
impl Ord for AbiSchemaItemType
Source§fn cmp(&self, other: &AbiSchemaItemType) -> Ordering
fn cmp(&self, other: &AbiSchemaItemType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AbiSchemaItemType
impl PartialEq for AbiSchemaItemType
Source§fn eq(&self, other: &AbiSchemaItemType) -> bool
fn eq(&self, other: &AbiSchemaItemType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AbiSchemaItemType
impl PartialOrd for AbiSchemaItemType
Source§impl Serialize for AbiSchemaItemType
impl Serialize for AbiSchemaItemType
impl StructuralPartialEq for AbiSchemaItemType
Source§impl TryFrom<&String> for AbiSchemaItemType
impl TryFrom<&String> for AbiSchemaItemType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for AbiSchemaItemType
impl TryFrom<&str> for AbiSchemaItemType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for AbiSchemaItemType
impl TryFrom<String> for AbiSchemaItemType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for AbiSchemaItemType
impl RefUnwindSafe for AbiSchemaItemType
impl Send for AbiSchemaItemType
impl Sync for AbiSchemaItemType
impl Unpin for AbiSchemaItemType
impl UnsafeUnpin for AbiSchemaItemType
impl UnwindSafe for AbiSchemaItemType
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