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