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 DirectiveDefinitionTrait Implementations
impl Debug for DirectiveDefinition[src]
impl Debug for DirectiveDefinitionfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for DirectiveDefinition[src]
impl Clone for DirectiveDefinitionfn clone(&self) -> DirectiveDefinition[src]
fn clone(&self) -> DirectiveDefinitionReturns 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 DirectiveDefinitionfn eq(&self, other: &DirectiveDefinition) -> bool[src]
fn eq(&self, other: &DirectiveDefinition) -> boolThis 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) -> boolThis method tests for !=.
impl Display for DirectiveDefinition[src]
impl Display for DirectiveDefinitionAuto Trait Implementations
impl Send for DirectiveDefinition
impl Send for DirectiveDefinitionimpl Sync for DirectiveDefinition
impl Sync for DirectiveDefinition