Trait juniper::marker::IsOutputType[][src]

pub trait IsOutputType<S: ScalarValue> {
    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

An arbitrary function without meaning.

May contain compile timed check logic which ensures that types are used correctly according to the GraphQL specification.

Implementations on Foreign Types

Implementors