Struct query_structure::ast::EmptyArgument
source · pub struct EmptyArgument {
pub name: Identifier,
}
Expand description
An argument with a name but no value. Example:
ⓘ
@relation(onDelete: )
This is of course invalid, but we parse it in order to provide better diagnostics and for autocompletion.
Fields§
§name: Identifier
Trait Implementations§
source§impl Clone for EmptyArgument
impl Clone for EmptyArgument
source§fn clone(&self) -> EmptyArgument
fn clone(&self) -> EmptyArgument
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 moreAuto Trait Implementations§
impl RefUnwindSafe for EmptyArgument
impl Send for EmptyArgument
impl Sync for EmptyArgument
impl Unpin for EmptyArgument
impl UnwindSafe for EmptyArgument
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