Trait async_graphql::InputType[][src]

pub trait InputType: Send + Sync + Sized {
    fn type_name() -> Cow<'static, str>;
fn create_type_info(registry: &mut Registry) -> String;
fn parse(value: Option<Value>) -> InputValueResult<Self>;
fn to_value(&self) -> Value; fn qualified_type_name() -> String { ... } }
Expand description

Represents a GraphQL input type.

Required methods

Type the name.

Create type information in the registry and return qualified typename.

Parse from Value. None represents undefined.

Convert to a Value for introspection.

Provided methods

Qualified typename.

Implementations on Foreign Types

Implementors