[][src]Trait juniper::marker::IsInputType

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

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

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> IsInputType<S> for Option<T> where
    T: IsInputType<S>,
    S: ScalarValue
[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading content...

Implementors

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

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

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

Loading content...