Trait cynic::inputs::InputType[][src]

pub trait InputType<NamedType, Wrappers>: Serialize { }
Expand description

A trait for accepting input types. This is used to determine whether a type is compatible with the expected input type when provided as an argument: either directly as an field argument or inside an InputObject.

This trait has two type parameters:

  • NamedType should point to the marker trait of the underlying type in your schema module.
  • Wrappers is used to specify the “wrapper types”, for example if it is nullable or in a list.

Implementations on Foreign Types

Implementors