pub trait IsInputType<S: ScalarValue>: GraphQLType<S> {
// Provided method
fn mark() { ... }
}
Expand description
Marker trait for types which can be used as input types.
The GraphQL specification differentiates between input and output types. Each type which can be used as an input type should implement this trait. The specification defines enum, scalar, and input object input types.
Provided Methods§
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.