[][src]Struct tsukuyomi_juniper::GraphQLRequest

pub struct GraphQLRequest<S: ScalarValue = DefaultScalarValue>(_);

The type representing a GraphQL request from the client.

Methods

impl<S> GraphQLRequest<S> where
    S: ScalarValue,
    &'a S: ScalarRefValue<'a>, 
[src]

pub fn execute<T, CtxT>(
    self,
    schema: T,
    context: CtxT
) -> GraphQLResponse<T, CtxT, S> where
    T: Schema<S> + Send + 'static,
    CtxT: AsRef<T::Context> + Send + 'static,
    S: Send + 'static, 
[src]

Creates a Responder that executes this request using the specified schema and context.

Trait Implementations

impl<S: Debug + ScalarValue> Debug for GraphQLRequest<S>[src]

impl<'de, S: ScalarValue> Deserialize<'de> for GraphQLRequest<S> where
    InputValue<S>: Deserialize<'de>, 
[src]

Auto Trait Implementations

impl<S> Send for GraphQLRequest<S> where
    S: Send

impl<S> Sync for GraphQLRequest<S> where
    S: Sync

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

impl<T> Erased for T