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
☰
Document
Trait Implementations
SchemaDocumentExtension
In graphql_tools::static_graphql::schema
?
Type Definition
graphql_tools
::
static_graphql
::
schema
::
Document
source
·
[
−
]
pub type Document =
Document
<'static,
String
>;
Trait Implementations
source
impl
SchemaDocumentExtension
for
Document
source
fn
type_by_name
(&self, name: &
String
) ->
Option
<
TypeDefinition
>
source
fn
directive_by_name
(&self, name: &
String
) ->
Option
<
DirectiveDefinition
>
source
fn
schema_definition
(&self) ->
SchemaDefinition
source
fn
query_type
(&self) ->
ObjectType
source
fn
mutation_type
(&self) ->
Option
<
ObjectType
>
source
fn
subscription_type
(&self) ->
Option
<
ObjectType
>
source
fn
object_type_by_name
(&self, name: &
String
) ->
Option
<
ObjectType
>
source
fn
type_map
(&self) ->
HashMap
<
String
,
TypeDefinition
>
source
fn
is_named_subtype
(
&self,
sub_type_name: &
String
,
super_type_name: &
String
) ->
bool
source
fn
is_possible_type
(
&self,
abstract_type: &
TypeDefinition
,
possible_type: &
TypeDefinition
) ->
bool
source
fn
is_subtype
(&self, sub_type: &
Type
, super_type: &
Type
) ->
bool