pub enum AbiSchemaItemStateMutability {
Nonpayable,
Payable,
Pure,
View,
}Expand description
AbiSchemaItemStateMutability
JSON schema
{
"type": "string",
"enum": [
"nonpayable",
"payable",
"pure",
"view"
]
}Variants§
Trait Implementations§
Source§impl Clone for AbiSchemaItemStateMutability
impl Clone for AbiSchemaItemStateMutability
Source§fn clone(&self) -> AbiSchemaItemStateMutability
fn clone(&self) -> AbiSchemaItemStateMutability
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 AbiSchemaItemStateMutability
Source§impl Debug for AbiSchemaItemStateMutability
impl Debug for AbiSchemaItemStateMutability
Source§impl<'de> Deserialize<'de> for AbiSchemaItemStateMutability
impl<'de> Deserialize<'de> for AbiSchemaItemStateMutability
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
impl Eq for AbiSchemaItemStateMutability
Source§impl From<&AbiSchemaItemStateMutability> for AbiSchemaItemStateMutability
impl From<&AbiSchemaItemStateMutability> for AbiSchemaItemStateMutability
Source§fn from(value: &AbiSchemaItemStateMutability) -> Self
fn from(value: &AbiSchemaItemStateMutability) -> Self
Converts to this type from the input type.
Source§impl Hash for AbiSchemaItemStateMutability
impl Hash for AbiSchemaItemStateMutability
Source§impl Ord for AbiSchemaItemStateMutability
impl Ord for AbiSchemaItemStateMutability
Source§fn cmp(&self, other: &AbiSchemaItemStateMutability) -> Ordering
fn cmp(&self, other: &AbiSchemaItemStateMutability) -> 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 AbiSchemaItemStateMutability
impl PartialEq for AbiSchemaItemStateMutability
Source§fn eq(&self, other: &AbiSchemaItemStateMutability) -> bool
fn eq(&self, other: &AbiSchemaItemStateMutability) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AbiSchemaItemStateMutability
impl PartialOrd for AbiSchemaItemStateMutability
impl StructuralPartialEq for AbiSchemaItemStateMutability
Source§impl TryFrom<&String> for AbiSchemaItemStateMutability
impl TryFrom<&String> for AbiSchemaItemStateMutability
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for AbiSchemaItemStateMutability
impl TryFrom<&str> for AbiSchemaItemStateMutability
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for AbiSchemaItemStateMutability
impl TryFrom<String> for AbiSchemaItemStateMutability
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for AbiSchemaItemStateMutability
impl RefUnwindSafe for AbiSchemaItemStateMutability
impl Send for AbiSchemaItemStateMutability
impl Sync for AbiSchemaItemStateMutability
impl Unpin for AbiSchemaItemStateMutability
impl UnsafeUnpin for AbiSchemaItemStateMutability
impl UnwindSafe for AbiSchemaItemStateMutability
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