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>
Methods
impl DirectiveDefinition
[src]
impl DirectiveDefinition
Trait Implementations
impl Debug for DirectiveDefinition
[src]
impl Debug for DirectiveDefinition
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for DirectiveDefinition
[src]
impl Clone for DirectiveDefinition
fn clone(&self) -> DirectiveDefinition
[src]
fn clone(&self) -> DirectiveDefinition
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for DirectiveDefinition
[src]
impl PartialEq for DirectiveDefinition
fn eq(&self, other: &DirectiveDefinition) -> bool
[src]
fn eq(&self, other: &DirectiveDefinition) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DirectiveDefinition) -> bool
[src]
fn ne(&self, other: &DirectiveDefinition) -> bool
This method tests for !=
.
impl Display for DirectiveDefinition
[src]
impl Display for DirectiveDefinition
Auto Trait Implementations
impl Send for DirectiveDefinition
impl Send for DirectiveDefinition
impl Sync for DirectiveDefinition
impl Sync for DirectiveDefinition