pub trait InputObject: Serialize {
type SchemaType;
}Expand description
A GraphQL input object.
This should be derived on a struct.
Required Associated Types§
Sourcetype SchemaType
type SchemaType
The input object in the schema that this type represents.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.