Enum graphql_parser::schema::TypeDefinition
[−]
[src]
pub enum TypeDefinition { Scalar(ScalarType), Object(ObjectType), Interface(InterfaceType), Union(UnionType), Enum(EnumType), InputObject(InputObjectType), }
Variants
Scalar(ScalarType)
Object(ObjectType)
Interface(InterfaceType)
Union(UnionType)
Enum(EnumType)
InputObject(InputObjectType)
Trait Implementations
impl Debug for TypeDefinition
[src]
impl Clone for TypeDefinition
[src]
fn clone(&self) -> TypeDefinition
[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 TypeDefinition
[src]
fn eq(&self, __arg_0: &TypeDefinition) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TypeDefinition) -> bool
[src]
This method tests for !=
.