Struct graphql_parser::schema::DirectiveDefinition
[−]
[src]
pub struct DirectiveDefinition { pub position: Pos, pub description: Option<String>, pub name: Name, pub arguments: Vec<InputValue>, pub locations: Vec<DirectiveLocation>, }
Fields
position: Pos
description: Option<String>
name: Name
arguments: Vec<InputValue>
locations: Vec<DirectiveLocation>
Trait Implementations
impl Debug for DirectiveDefinition
[src]
impl Clone for DirectiveDefinition
[src]
fn clone(&self) -> DirectiveDefinition
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for DirectiveDefinition
[src]
fn eq(&self, __arg_0: &DirectiveDefinition) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DirectiveDefinition) -> bool
[src]
This method tests for !=
.