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
sourceimpl From<InputObject> for Type
impl From<InputObject> for Type
sourcefn from(obj: InputObject) -> Self
fn from(obj: InputObject) -> Self
Converts to this type from the input type.
sourceimpl From<Subscription> for Type
impl From<Subscription> for Type
sourcefn from(subscription: Subscription) -> Self
fn from(subscription: Subscription) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl !UnwindSafe for Type
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more