pub enum ModifierInvocationModifierName {
Identifier(Identifier),
IdentifierPath(IdentifierPath),
}
Expand description
ModifierInvocationModifierName
JSON schema
{
"anyOf": [
{
"$ref": "#/definitions/Identifier"
},
{
"$ref": "#/definitions/IdentifierPath"
}
]
}
Variants§
Identifier(Identifier)
IdentifierPath(IdentifierPath)
Trait Implementations§
Source§impl Clone for ModifierInvocationModifierName
impl Clone for ModifierInvocationModifierName
Source§fn clone(&self) -> ModifierInvocationModifierName
fn clone(&self) -> ModifierInvocationModifierName
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<'de> Deserialize<'de> for ModifierInvocationModifierName
impl<'de> Deserialize<'de> for ModifierInvocationModifierName
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<&ModifierInvocationModifierName> for ModifierInvocationModifierName
impl From<&ModifierInvocationModifierName> for ModifierInvocationModifierName
Source§fn from(value: &ModifierInvocationModifierName) -> Self
fn from(value: &ModifierInvocationModifierName) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for ModifierInvocationModifierName
impl From<Identifier> for ModifierInvocationModifierName
Source§fn from(value: Identifier) -> Self
fn from(value: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<IdentifierPath> for ModifierInvocationModifierName
impl From<IdentifierPath> for ModifierInvocationModifierName
Source§fn from(value: IdentifierPath) -> Self
fn from(value: IdentifierPath) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ModifierInvocationModifierName
impl RefUnwindSafe for ModifierInvocationModifierName
impl Send for ModifierInvocationModifierName
impl Sync for ModifierInvocationModifierName
impl Unpin for ModifierInvocationModifierName
impl UnwindSafe for ModifierInvocationModifierName
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