Enum async_graphql::dynamic::Type
source · pub enum Type {
Scalar(Scalar),
Object(Object),
InputObject(InputObject),
Enum(Enum),
Interface(Interface),
Union(Union),
Subscription(Subscription),
}
Available on crate feature
dynamic-schema
only.Expand description
A GraphQL type
Variants§
Scalar(Scalar)
Scalar
Object(Object)
Object
InputObject(InputObject)
Input object
Enum(Enum)
Enum
Interface(Interface)
Interface
Union(Union)
Union
Subscription(Subscription)
Subscription
Trait Implementations§
source§impl From<InputObject> for Type
impl From<InputObject> for Type
source§fn from(obj: InputObject) -> Self
fn from(obj: InputObject) -> Self
Converts to this type from the input type.
source§impl From<Subscription> for Type
impl From<Subscription> for Type
source§fn from(subscription: Subscription) -> Self
fn from(subscription: Subscription) -> Self
Converts to this type from the input type.