pub struct ModifierInvocation {
pub arguments: Option<Vec<Expression>>,
pub id: i64,
pub kind: Option<ModifierInvocationKind>,
pub modifier_name: ModifierInvocationModifierName,
pub node_type: ModifierInvocationNodeType,
pub src: SourceLocation,
}
Expand description
ModifierInvocation
JSON schema
{
"type": "object",
"required": [
"id",
"modifierName",
"nodeType",
"src"
],
"properties": {
"arguments": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/Expression"
}
},
{
"type": "null"
}
]
},
"id": {
"type": "integer"
},
"kind": {
"enum": [
"modifierInvocation",
"baseConstructorSpecifier"
]
},
"modifierName": {
"anyOf": [
{
"$ref": "#/definitions/Identifier"
},
{
"$ref": "#/definitions/IdentifierPath"
}
]
},
"nodeType": {
"enum": [
"ModifierInvocation"
]
},
"src": {
"$ref": "#/definitions/SourceLocation"
}
},
"additionalProperties": false
}
Fields§
§arguments: Option<Vec<Expression>>
§id: i64
§kind: Option<ModifierInvocationKind>
§modifier_name: ModifierInvocationModifierName
§node_type: ModifierInvocationNodeType
§src: SourceLocation
Trait Implementations§
Source§impl Clone for ModifierInvocation
impl Clone for ModifierInvocation
Source§fn clone(&self) -> ModifierInvocation
fn clone(&self) -> ModifierInvocation
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 ModifierInvocation
impl Debug for ModifierInvocation
Source§impl<'de> Deserialize<'de> for ModifierInvocation
impl<'de> Deserialize<'de> for ModifierInvocation
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<&ModifierInvocation> for ModifierInvocation
impl From<&ModifierInvocation> for ModifierInvocation
Source§fn from(value: &ModifierInvocation) -> Self
fn from(value: &ModifierInvocation) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ModifierInvocation
impl RefUnwindSafe for ModifierInvocation
impl Send for ModifierInvocation
impl Sync for ModifierInvocation
impl Unpin for ModifierInvocation
impl UnwindSafe for ModifierInvocation
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