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