pub enum FunctionDefinitionKind {
Function,
Receive,
Constructor,
Fallback,
FreeFunction,
}
Expand description
FunctionDefinitionKind
JSON schema
{
"enum": [
"function",
"receive",
"constructor",
"fallback",
"freeFunction"
]
}
Variants§
Trait Implementations§
Source§impl Clone for FunctionDefinitionKind
impl Clone for FunctionDefinitionKind
Source§fn clone(&self) -> FunctionDefinitionKind
fn clone(&self) -> FunctionDefinitionKind
Returns a copy of the value. Read more
1.0.0 · 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 FunctionDefinitionKind
impl Debug for FunctionDefinitionKind
Source§impl<'de> Deserialize<'de> for FunctionDefinitionKind
impl<'de> Deserialize<'de> for FunctionDefinitionKind
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<&FunctionDefinitionKind> for FunctionDefinitionKind
impl From<&FunctionDefinitionKind> for FunctionDefinitionKind
Source§fn from(value: &FunctionDefinitionKind) -> Self
fn from(value: &FunctionDefinitionKind) -> Self
Converts to this type from the input type.
Source§impl FromStr for FunctionDefinitionKind
impl FromStr for FunctionDefinitionKind
Source§impl Hash for FunctionDefinitionKind
impl Hash for FunctionDefinitionKind
Source§impl Ord for FunctionDefinitionKind
impl Ord for FunctionDefinitionKind
Source§fn cmp(&self, other: &FunctionDefinitionKind) -> Ordering
fn cmp(&self, other: &FunctionDefinitionKind) -> Ordering
1.21.0 · 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 FunctionDefinitionKind
impl PartialEq for FunctionDefinitionKind
Source§impl PartialOrd for FunctionDefinitionKind
impl PartialOrd for FunctionDefinitionKind
Source§impl Serialize for FunctionDefinitionKind
impl Serialize for FunctionDefinitionKind
Source§impl ToString for FunctionDefinitionKind
impl ToString for FunctionDefinitionKind
Source§impl TryFrom<&String> for FunctionDefinitionKind
impl TryFrom<&String> for FunctionDefinitionKind
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for FunctionDefinitionKind
impl TryFrom<&str> for FunctionDefinitionKind
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for FunctionDefinitionKind
impl TryFrom<String> for FunctionDefinitionKind
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for FunctionDefinitionKind
impl Eq for FunctionDefinitionKind
impl StructuralPartialEq for FunctionDefinitionKind
Auto Trait Implementations§
impl Freeze for FunctionDefinitionKind
impl RefUnwindSafe for FunctionDefinitionKind
impl Send for FunctionDefinitionKind
impl Sync for FunctionDefinitionKind
impl Unpin for FunctionDefinitionKind
impl UnwindSafe for FunctionDefinitionKind
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