pub struct Identifier {
pub argument_types: Option<Vec<TypeDescriptions>>,
pub id: i64,
pub name: String,
pub node_type: IdentifierNodeType,
pub overloaded_declarations: Vec<i64>,
pub referenced_declaration: Option<i64>,
pub src: SourceLocation,
pub type_descriptions: TypeDescriptions,
}
Expand description
Identifier
JSON schema
{
"type": "object",
"required": [
"id",
"name",
"nodeType",
"overloadedDeclarations",
"src",
"typeDescriptions"
],
"properties": {
"argumentTypes": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/TypeDescriptions"
}
},
{
"type": "null"
}
]
},
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"nodeType": {
"enum": [
"Identifier"
]
},
"overloadedDeclarations": {
"type": "array",
"items": {
"type": "integer"
}
},
"referencedDeclaration": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"src": {
"$ref": "#/definitions/SourceLocation"
},
"typeDescriptions": {
"$ref": "#/definitions/TypeDescriptions"
}
},
"additionalProperties": false
}
Fields§
§argument_types: Option<Vec<TypeDescriptions>>
§id: i64
§name: String
§node_type: IdentifierNodeType
§overloaded_declarations: Vec<i64>
§referenced_declaration: Option<i64>
§src: SourceLocation
§type_descriptions: TypeDescriptions
Trait Implementations§
Source§impl Clone for Identifier
impl Clone for Identifier
Source§fn clone(&self) -> Identifier
fn clone(&self) -> Identifier
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 Identifier
impl Debug for Identifier
Source§impl<'de> Deserialize<'de> for Identifier
impl<'de> Deserialize<'de> for Identifier
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<&Identifier> for Identifier
impl From<&Identifier> for Identifier
Source§fn from(value: &Identifier) -> Self
fn from(value: &Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for Expression
impl From<Identifier> for Expression
Source§fn from(value: Identifier) -> Self
fn from(value: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for ModifierInvocationModifierName
impl From<Identifier> for ModifierInvocationModifierName
Source§fn from(value: Identifier) -> Self
fn from(value: Identifier) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Identifier
impl RefUnwindSafe for Identifier
impl Send for Identifier
impl Sync for Identifier
impl Unpin for Identifier
impl UnwindSafe for Identifier
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