Docs.rs
  • graphql-tools-0.1.0
    • graphql-tools 0.1.0
    • Docs.rs crate page
    • MIT/Apache-2.0
    • Links
    • Homepage
    • Documentation
    • crates.io
    • Source
    • Owners
    • dotansimha
    • kamilkisiela
    • Dependencies
      • graphql-parser ^0.4.0 normal
      • serde ^1.0 normal
      • serde_json ^1.0 normal
      • graphql-parser ^0.4.0 dev
    • Versions
    • 8.38% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

TypeDefinition

Trait Implementations

  • FieldByNameExtension
  • ImplementingInterfaceExtension
  • PossibleTypesExtension
  • TypeDefinitionExtension

In graphql_tools::static_graphql::schema

logo
Change settings

Type Definition graphql_tools::static_graphql::schema::TypeDefinition

source · [−]
pub type TypeDefinition = TypeDefinition<'static, String>;

Trait Implementations

source

impl FieldByNameExtension for TypeDefinition

source

fn field_by_name(&self, name: &String) -> Option<Field>

source

fn input_field_by_name(&self, name: &String) -> Option<InputValue>

source

impl ImplementingInterfaceExtension for TypeDefinition

source

fn interfaces(&self) -> Vec<String>

source

fn has_sub_type(&self, other_type: &TypeDefinition) -> bool

source

impl PossibleTypesExtension for TypeDefinition

source

fn possible_types(&self, schema: &Document) -> Vec<ObjectType>

source

impl TypeDefinitionExtension for TypeDefinition

source

fn name(&self) -> String

source

fn is_abstract_type(&self) -> bool

source

fn is_interface_type(&self) -> bool

source

fn is_leaf_type(&self) -> bool

source

fn is_input_type(&self) -> bool

source

fn is_composite_type(&self) -> bool

source

fn is_object_type(&self) -> bool

source

fn is_union_type(&self) -> bool

source

fn is_enum_type(&self) -> bool

source

fn is_scalar_type(&self) -> bool