[][src]Struct async_graphql_tide::Endpoint

pub struct Endpoint<Query, Mutation, Subscription> {
    pub schema: Schema<Query, Mutation, Subscription>,
    pub opts: MultipartOptions,
}

A GraphQL endpoint.

Fields

schema: Schema<Query, Mutation, Subscription>

The schema of the endpoint.

opts: MultipartOptions

The multipart options of the endpoint.

Trait Implementations

impl<Query, Mutation, Subscription> Clone for Endpoint<Query, Mutation, Subscription>[src]

impl<Query, Mutation, Subscription, TideState> Endpoint<TideState> for Endpoint<Query, Mutation, Subscription> where
    Query: ObjectType + Send + Sync + 'static,
    Mutation: ObjectType + Send + Sync + 'static,
    Subscription: SubscriptionType + Send + Sync + 'static,
    TideState: Clone + Send + Sync + 'static, 
[src]

Auto Trait Implementations

impl<Query, Mutation, Subscription> !RefUnwindSafe for Endpoint<Query, Mutation, Subscription>

impl<Query, Mutation, Subscription> Send for Endpoint<Query, Mutation, Subscription> where
    Mutation: Send + Sync,
    Query: Send + Sync,
    Subscription: Send + Sync

impl<Query, Mutation, Subscription> Sync for Endpoint<Query, Mutation, Subscription> where
    Mutation: Send + Sync,
    Query: Send + Sync,
    Subscription: Send + Sync

impl<Query, Mutation, Subscription> Unpin for Endpoint<Query, Mutation, Subscription>

impl<Query, Mutation, Subscription> !UnwindSafe for Endpoint<Query, Mutation, Subscription>

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<State, F, Fut, Res> Endpoint<State> for F where
    F: Send + Sync + 'static + Fn(Request<State>) -> Fut,
    Fut: Future<Output = Result<Res, Error>> + Send + 'static,
    Res: Into<Response> + 'static,
    State: Clone + Send + Sync + 'static, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,