[][src]Struct async_graphql::Schema

pub struct Schema<Query, Mutation> { /* fields omitted */ }

Methods

impl<Query: GQLObject, Mutation: GQLObject> Schema<Query, Mutation>[src]

pub fn new() -> Self[src]

pub fn query<'a>(
    &'a self,
    query: Query,
    mutation: Mutation,
    query_source: &'a str
) -> QueryBuilder<'a, Query, Mutation>
[src]

Auto Trait Implementations

impl<Query, Mutation> RefUnwindSafe for Schema<Query, Mutation> where
    Mutation: RefUnwindSafe,
    Query: RefUnwindSafe

impl<Query, Mutation> Send for Schema<Query, Mutation> where
    Mutation: Send,
    Query: Send

impl<Query, Mutation> Sync for Schema<Query, Mutation> where
    Mutation: Sync,
    Query: Sync

impl<Query, Mutation> Unpin for Schema<Query, Mutation> where
    Mutation: Unpin,
    Query: Unpin

impl<Query, Mutation> UnwindSafe for Schema<Query, Mutation> where
    Mutation: UnwindSafe,
    Query: UnwindSafe

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.