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