Trait async_graphql::ObjectType

source ·
pub trait ObjectType: ContainerType { }
Expand description

A GraphQL object.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: ObjectType + ?Sized> ObjectType for &T

source§

impl<T: ObjectType + ?Sized> ObjectType for Box<T>

source§

impl<T: ObjectType + ?Sized> ObjectType for Arc<T>

Implementors§

source§

impl ObjectType for EmptyFields

source§

impl ObjectType for PageInfo

source§

impl ObjectType for EmptyMutation

source§

impl<Cursor, Node, ConnectionFields, EdgeFields, Name, EdgeName> ObjectType for Connection<Cursor, Node, ConnectionFields, EdgeFields, Name, EdgeName, DisableNodesField>
where Cursor: CursorType + Send + Sync, Node: OutputType, ConnectionFields: ObjectType, EdgeFields: ObjectType, Name: ConnectionNameType, EdgeName: EdgeNameType,

source§

impl<Cursor, Node, ConnectionFields, EdgeFields, Name, EdgeName> ObjectType for Connection<Cursor, Node, ConnectionFields, EdgeFields, Name, EdgeName, EnableNodesField>
where Cursor: CursorType + Send + Sync, Node: OutputType, ConnectionFields: ObjectType, EdgeFields: ObjectType, Name: ConnectionNameType, EdgeName: EdgeNameType,

source§

impl<Cursor, Node, EdgeFields, Name> ObjectType for Edge<Cursor, Node, EdgeFields, Name>
where Cursor: CursorType + Send + Sync, Node: OutputType, EdgeFields: ObjectType, Name: EdgeNameType,