Trait cynic::InputObject

source ·
pub trait InputObject: Serialize {
    type SchemaType;
}
Expand description

A GraphQL input object.

This should be derived on a struct.

Required Associated Types§

source

type SchemaType

The input object in the schema that this type represents.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> InputObject for Option<T>
where T: InputObject,

source§

impl<T> InputObject for &T
where T: InputObject + ?Sized,

source§

impl<T> InputObject for [T]
where T: InputObject,

source§

impl<T> InputObject for Box<T>
where T: InputObject,

source§

impl<T> InputObject for Vec<T>
where T: InputObject,

source§

impl<T, const SIZE: usize> InputObject for [T; SIZE]
where T: InputObject, Self: Serialize,

Implementors§