[−][src]Trait async_graphql::Type
Represents a GraphQL type
All GraphQL types implement this trait, such as Scalar
, Object
, Union
...
Required methods
fn type_name() -> Cow<'static, str>
Type the name.
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
Provided methods
fn qualified_type_name() -> String
Qualified typename.
fn global_id(id: ID) -> ID
Returns a GlobalID
that is unique among all types.
fn from_global_id(id: ID) -> Result<ID>
Parse GlobalID
.