pub struct UserDefinedTypeName {
pub contract_scope: (),
pub id: i64,
pub name: Option<String>,
pub node_type: UserDefinedTypeNameNodeType,
pub path_node: Option<IdentifierPath>,
pub referenced_declaration: i64,
pub src: SourceLocation,
pub type_descriptions: TypeDescriptions,
}
Expand description
UserDefinedTypeName
JSON schema
{
"type": "object",
"required": [
"id",
"nodeType",
"referencedDeclaration",
"src",
"typeDescriptions"
],
"properties": {
"contractScope": {
"type": "null"
},
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"nodeType": {
"enum": [
"UserDefinedTypeName"
]
},
"pathNode": {
"$ref": "#/definitions/IdentifierPath"
},
"referencedDeclaration": {
"type": "integer"
},
"src": {
"$ref": "#/definitions/SourceLocation"
},
"typeDescriptions": {
"$ref": "#/definitions/TypeDescriptions"
}
},
"additionalProperties": false
}
Fields§
§contract_scope: ()
§id: i64
§name: Option<String>
§node_type: UserDefinedTypeNameNodeType
§path_node: Option<IdentifierPath>
§referenced_declaration: i64
§src: SourceLocation
§type_descriptions: TypeDescriptions
Trait Implementations§
Source§impl Clone for UserDefinedTypeName
impl Clone for UserDefinedTypeName
Source§fn clone(&self) -> UserDefinedTypeName
fn clone(&self) -> UserDefinedTypeName
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 UserDefinedTypeName
impl Debug for UserDefinedTypeName
Source§impl<'de> Deserialize<'de> for UserDefinedTypeName
impl<'de> Deserialize<'de> for UserDefinedTypeName
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<&UserDefinedTypeName> for UserDefinedTypeName
impl From<&UserDefinedTypeName> for UserDefinedTypeName
Source§fn from(value: &UserDefinedTypeName) -> Self
fn from(value: &UserDefinedTypeName) -> Self
Converts to this type from the input type.
Source§impl From<UserDefinedTypeName> for InheritanceSpecifierBaseName
impl From<UserDefinedTypeName> for InheritanceSpecifierBaseName
Source§fn from(value: UserDefinedTypeName) -> Self
fn from(value: UserDefinedTypeName) -> Self
Converts to this type from the input type.
Source§impl From<UserDefinedTypeName> for TypeName
impl From<UserDefinedTypeName> for TypeName
Source§fn from(value: UserDefinedTypeName) -> Self
fn from(value: UserDefinedTypeName) -> Self
Converts to this type from the input type.
Source§impl From<UserDefinedTypeName> for UsingForDirectiveLibraryName
impl From<UserDefinedTypeName> for UsingForDirectiveLibraryName
Source§fn from(value: UserDefinedTypeName) -> Self
fn from(value: UserDefinedTypeName) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UserDefinedTypeName
impl RefUnwindSafe for UserDefinedTypeName
impl Send for UserDefinedTypeName
impl Sync for UserDefinedTypeName
impl Unpin for UserDefinedTypeName
impl UnwindSafe for UserDefinedTypeName
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