pub trait IsInputType<S: ScalarValue>: GraphQLType<S> {
    // Provided method
    fn mark() { ... }
}
Expand description

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§

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.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

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

source§

impl<'a, S, T> IsInputType<S> for &T
where T: IsInputType<S> + ?Sized, S: ScalarValue,

source§

impl<S> IsInputType<S> for bool
where S: ScalarValue,

source§

impl<S> IsInputType<S> for f64
where S: ScalarValue,

source§

impl<S> IsInputType<S> for i32
where S: ScalarValue,

source§

impl<S> IsInputType<S> for String
where S: ScalarValue,

source§

impl<S> IsInputType<S> for DateTime
where S: ScalarValue,

source§

impl<S> IsInputType<S> for ObjectId
where S: ScalarValue,

source§

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

source§

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

source§

impl<S> IsInputType<S> for NaiveDate
where S: ScalarValue,

source§

impl<S> IsInputType<S> for NaiveDateTime
where S: ScalarValue,

source§

impl<S> IsInputType<S> for Url
where S: ScalarValue,

source§

impl<S> IsInputType<S> for Uuid
where S: ScalarValue,

source§

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

source§

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

source§

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

source§

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

source§

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

Implementors§

source§

impl<S> IsInputType<S> for ID
where S: ScalarValue,

source§

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

source§

impl<__S> IsInputType<__S> for TypeKind
where __S: ScalarValue,