Skip to main content

ObjectType

Trait ObjectType 

Source
pub trait ObjectType: ContainerType { }
Expand description

A GraphQL object.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

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

Source§

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

Source§

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

Implementors§

Source§

impl ObjectType for EmptyFields

Source§

impl ObjectType for EmptyMutation

Source§

impl ObjectType for PageInfo

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,