Enum graphql_parser::schema::Definition [−][src]
pub enum Definition { SchemaDefinition(SchemaDefinition), TypeDefinition(TypeDefinition), TypeExtension(TypeExtension), DirectiveDefinition(DirectiveDefinition), }
Variants
SchemaDefinition(SchemaDefinition)
TypeDefinition(TypeDefinition)
TypeExtension(TypeExtension)
DirectiveDefinition(DirectiveDefinition)
Trait Implementations
impl Debug for Definition
[src]
impl Debug for Definition
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 Definition
[src]
impl Clone for Definition
fn clone(&self) -> Definition
[src]
fn clone(&self) -> Definition
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 Definition
[src]
impl PartialEq for Definition
fn eq(&self, other: &Definition) -> bool
[src]
fn eq(&self, other: &Definition) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Definition) -> bool
[src]
fn ne(&self, other: &Definition) -> bool
This method tests for !=
.
impl Display for Definition
[src]
impl Display for Definition
Auto Trait Implementations
impl Send for Definition
impl Send for Definition
impl Sync for Definition
impl Sync for Definition