[][src]Struct async_graphql::QueryBuilder

pub struct QueryBuilder<'a, Query, Mutation> { /* fields omitted */ }

Methods

impl<'a, Query, Mutation> QueryBuilder<'a, Query, Mutation>[src]

pub fn operator_name(self, name: &'a str) -> Self[src]

pub fn variables(self, vars: &'a Variables) -> Self[src]

pub fn data(self, data: &'a Data) -> Self[src]

pub async fn execute(self) -> Result<Value> where
    Query: GQLObject + Send + Sync,
    Mutation: GQLObject + Send + Sync
[src]

Auto Trait Implementations

impl<'a, Query, Mutation> !RefUnwindSafe for QueryBuilder<'a, Query, Mutation>

impl<'a, Query, Mutation> Send for QueryBuilder<'a, Query, Mutation> where
    Mutation: Send,
    Query: Send

impl<'a, Query, Mutation> Sync for QueryBuilder<'a, Query, Mutation> where
    Mutation: Sync,
    Query: Sync

impl<'a, Query, Mutation> Unpin for QueryBuilder<'a, Query, Mutation> where
    Mutation: Unpin,
    Query: Unpin

impl<'a, Query, Mutation> !UnwindSafe for QueryBuilder<'a, Query, Mutation>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.