[][src]Trait cynic::InputObject

pub trait InputObject<TypeLock> { }

A trait for GraphQL input objects.

This trait is generic over some TypeLock which is used to tie an InputType back into it's GraphQL input object. Generally this will be some type generated in the GQL code.

It's recommended to derive this trait with the InputObject derive. You can also implement it yourself, but you'll be responsible for implementing the SerializableArgument trait if you want to use it.

Implementations on Foreign Types

impl<TypeLock, T, '_> InputObject<TypeLock> for &'_ T where
    T: InputObject<TypeLock>, 
[src]

impl<TypeLock, T> InputObject<TypeLock> for Box<T> where
    T: InputObject<TypeLock>, 
[src]

Loading content...

Implementors

Loading content...