pub struct FunctionTypeName {
pub id: i64,
pub node_type: FunctionTypeNameNodeType,
pub parameter_types: ParameterList,
pub return_parameter_types: ParameterList,
pub src: SourceLocation,
pub state_mutability: StateMutability,
pub type_descriptions: TypeDescriptions,
pub visibility: Visibility,
}
Expand description
FunctionTypeName
JSON schema
{
"type": "object",
"required": [
"id",
"nodeType",
"parameterTypes",
"returnParameterTypes",
"src",
"stateMutability",
"typeDescriptions",
"visibility"
],
"properties": {
"id": {
"type": "integer"
},
"nodeType": {
"enum": [
"FunctionTypeName"
]
},
"parameterTypes": {
"$ref": "#/definitions/ParameterList"
},
"returnParameterTypes": {
"$ref": "#/definitions/ParameterList"
},
"src": {
"$ref": "#/definitions/SourceLocation"
},
"stateMutability": {
"$ref": "#/definitions/StateMutability"
},
"typeDescriptions": {
"$ref": "#/definitions/TypeDescriptions"
},
"visibility": {
"$ref": "#/definitions/Visibility"
}
},
"additionalProperties": false
}
Fields§
§id: i64
§node_type: FunctionTypeNameNodeType
§parameter_types: ParameterList
§return_parameter_types: ParameterList
§src: SourceLocation
§state_mutability: StateMutability
§type_descriptions: TypeDescriptions
§visibility: Visibility
Trait Implementations§
Source§impl Clone for FunctionTypeName
impl Clone for FunctionTypeName
Source§fn clone(&self) -> FunctionTypeName
fn clone(&self) -> FunctionTypeName
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 FunctionTypeName
impl Debug for FunctionTypeName
Source§impl<'de> Deserialize<'de> for FunctionTypeName
impl<'de> Deserialize<'de> for FunctionTypeName
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<&FunctionTypeName> for FunctionTypeName
impl From<&FunctionTypeName> for FunctionTypeName
Source§fn from(value: &FunctionTypeName) -> Self
fn from(value: &FunctionTypeName) -> Self
Converts to this type from the input type.
Source§impl From<FunctionTypeName> for TypeName
impl From<FunctionTypeName> for TypeName
Source§fn from(value: FunctionTypeName) -> Self
fn from(value: FunctionTypeName) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FunctionTypeName
impl RefUnwindSafe for FunctionTypeName
impl Send for FunctionTypeName
impl Sync for FunctionTypeName
impl Unpin for FunctionTypeName
impl UnwindSafe for FunctionTypeName
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