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§

source

fn mark()

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§

source§

impl<'a, S, T> IsOutputType<S> for &Twhere
    T: IsOutputType<S> + ?Sized,
    S: ScalarValue,

source§

impl<S, T> IsOutputType<S> for Box<T>where
    T: IsOutputType<S> + ?Sized,
    S: ScalarValue,

source§

impl<S, T> IsOutputType<S> for Arc<T>where
    T: IsOutputType<S> + ?Sized,
    S: ScalarValue,

source§

impl<S, T> IsOutputType<S> for Option<T>where
    T: IsOutputType<S>,
    S: ScalarValue,

source§

impl<S, T> IsOutputType<S> for Vec<T>where
    T: IsOutputType<S>,
    S: ScalarValue,

source§

impl<S, T> IsOutputType<S> for [T]where
    T: IsOutputType<S>,
    S: ScalarValue,

source§

impl<'a, S> IsOutputType<S> for strwhere
    S: ScalarValue,

source§

impl<S> IsOutputType<S> for Stringwhere
    S: ScalarValue,

source§

impl<S> IsOutputType<S> for boolwhere
    S: ScalarValue,

source§

impl<S> IsOutputType<S> for i32where
    S: ScalarValue,

source§

impl<S> IsOutputType<S> for f64where
    S: ScalarValue,

source§

impl<S> IsOutputType<S> for DateTime<FixedOffset>where
    S: ScalarValue,

source§

impl<S> IsOutputType<S> for DateTime<Utc>where
    S: ScalarValue,

source§

impl<S> IsOutputType<S> for NaiveDatewhere
    S: ScalarValue,

source§

impl<S> IsOutputType<S> for NaiveDateTimewhere
    S: ScalarValue,

source§

impl<S> IsOutputType<S> for Urlwhere
    S: ScalarValue,

source§

impl<S> IsOutputType<S> for Uuidwhere
    S: ScalarValue,

source§

impl<S> IsOutputType<S> for ObjectIdwhere
    S: ScalarValue,

source§

impl<S> IsOutputType<S> for UtcDateTimewhere
    S: ScalarValue,

Implementors§

source§

impl<'a, S> IsOutputType<S> for Argument<'a, S>where
    S: ScalarValue + 'a,

source§

impl<'a, S> IsOutputType<S> for EnumValuewhere
    S: ScalarValue + 'a,

source§

impl<'a, S> IsOutputType<S> for Field<'a, S>where
    S: ScalarValue + 'a,

source§

impl<'a, S> IsOutputType<S> for SchemaType<'a, S>where
    S: ScalarValue + 'a,

source§

impl<S> IsOutputType<S> for IDwhere
    S: ScalarValue,

source§

impl<__S> IsOutputType<__S> for TypeKindwhere
    __S: ScalarValue,