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