Struct schema_ast::ast::ArgumentsList
source · pub struct ArgumentsList {
pub arguments: Vec<Argument>,
pub empty_arguments: Vec<EmptyArgument>,
pub trailing_comma: Option<Span>,
}
Expand description
A list of arguments inside parentheses.
Fields§
§arguments: Vec<Argument>
The arguments themselves.
ⓘ
@@index([a, b, c], map: "myidix")
^^^^^^^^^^^^^^^^^^^^^^^^
empty_arguments: Vec<EmptyArgument>
The arguments without a value:
ⓘ
@default("george", map: )
^^^^
trailing_comma: Option<Span>
The trailing comma at the end of the arguments list.
ⓘ
@relation(fields: [a, b], references: [id, name], )
^
Trait Implementations§
source§impl Clone for ArgumentsList
impl Clone for ArgumentsList
source§fn clone(&self) -> ArgumentsList
fn clone(&self) -> ArgumentsList
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 ArgumentsList
impl Debug for ArgumentsList
source§impl Default for ArgumentsList
impl Default for ArgumentsList
source§fn default() -> ArgumentsList
fn default() -> ArgumentsList
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ArgumentsList
impl Send for ArgumentsList
impl Sync for ArgumentsList
impl Unpin for ArgumentsList
impl UnwindSafe for ArgumentsList
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