Trait async_graphql::InputType[][src]

pub trait InputType: Type + Send + Sync + Sized {
    fn parse(value: Option<Value>) -> InputValueResult<Self>;
fn to_value(&self) -> Value; }
Expand description

Represents a GraphQL input value.

Required methods

Parse from Value. None represents undefined.

Convert to a Value for introspection.

Implementations on Foreign Types

Implementors