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