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 TypeDefinitionfn 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 TypeDefinition[src]
impl Clone for TypeDefinitionfn clone(&self) -> TypeDefinition[src]
fn clone(&self) -> TypeDefinitionReturns 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 TypeDefinitionfn eq(&self, other: &TypeDefinition) -> bool[src]
fn eq(&self, other: &TypeDefinition) -> boolThis 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) -> boolThis method tests for !=.
impl Display for TypeDefinition[src]
impl Display for TypeDefinitionAuto Trait Implementations
impl Send for TypeDefinition
impl Send for TypeDefinitionimpl Sync for TypeDefinition
impl Sync for TypeDefinition