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 Debug for TypeDefinition
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 TypeDefinition
[src]
impl Clone for TypeDefinition
fn clone(&self) -> TypeDefinition
[src]
fn clone(&self) -> TypeDefinition
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 TypeDefinition
[src]
impl PartialEq for TypeDefinition
fn eq(&self, other: &TypeDefinition) -> bool
[src]
fn eq(&self, other: &TypeDefinition) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TypeDefinition) -> bool
[src]
fn ne(&self, other: &TypeDefinition) -> bool
This method tests for !=
.
impl Display for TypeDefinition
[src]
impl Display for TypeDefinition
Auto Trait Implementations
impl Send for TypeDefinition
impl Send for TypeDefinition
impl Sync for TypeDefinition
impl Sync for TypeDefinition