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

pub trait IsOutputType<S: ScalarValue> {
    pub fn mark() { ... }
}

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

pub fn mark()[src]

An arbitrary function without meaning.

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

Loading content...

Implementations on Foreign Types

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

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

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

impl<'a, S, T: ?Sized, '_> IsOutputType<S> for &'_ T where
    T: IsOutputType<S>,
    S: ScalarValue
[src]

impl<S, T: ?Sized> IsOutputType<S> for Box<T> where
    T: IsOutputType<S>,
    S: ScalarValue
[src]

impl<S, T: ?Sized> IsOutputType<S> for Arc<T> where
    T: IsOutputType<S>,
    S: ScalarValue
[src]

impl<'a, S> IsOutputType<S> for str where
    S: ScalarValue
[src]

impl<S> IsOutputType<S> for String where
    S: ScalarValue
[src]

impl<S> IsOutputType<S> for bool where
    S: ScalarValue
[src]

impl<S> IsOutputType<S> for i32 where
    S: ScalarValue
[src]

impl<S> IsOutputType<S> for f64 where
    S: ScalarValue
[src]

impl<S> IsOutputType<S> for DateTime<FixedOffset> where
    S: ScalarValue
[src]

impl<S> IsOutputType<S> for DateTime<Utc> where
    S: ScalarValue
[src]

impl<S> IsOutputType<S> for NaiveDate where
    S: ScalarValue
[src]

impl<S> IsOutputType<S> for NaiveDateTime where
    S: ScalarValue
[src]

impl<S> IsOutputType<S> for Url where
    S: ScalarValue
[src]

impl<S> IsOutputType<S> for Uuid where
    S: ScalarValue
[src]

impl<S> IsOutputType<S> for ObjectId where
    S: ScalarValue
[src]

impl<S> IsOutputType<S> for UtcDateTime where
    S: ScalarValue
[src]

Loading content...

Implementors

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

impl<'a, S> IsOutputType<S> for EnumValue where
    S: ScalarValue + 'a, 
[src]

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

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

impl<S> IsOutputType<S> for ID where
    S: ScalarValue
[src]

impl<__S> IsOutputType<__S> for TypeKind where
    __S: ScalarValue
[src]

Loading content...