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