[][src]Struct juniper_iron::PlaygroundHandler

pub struct PlaygroundHandler { /* fields omitted */ }

Handler that renders GraphQL Playground - a graphical query editor interface

Methods

impl PlaygroundHandler[src]

pub fn new(graphql_url: &str) -> PlaygroundHandler[src]

Build a new GraphQL Playground handler targeting the specified URL.

The provided URL should point to the URL of the attached GraphQLHandler. It can be relative, so a common value could be "/graphql".

Trait Implementations

impl Handler for PlaygroundHandler[src]

Auto Trait Implementations

Blanket Implementations

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.

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

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

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

impl<F> Handler for F where
    F: Send + Sync + 'static + Fn(&mut Request) -> Result<Response, IronError>, 
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> UnsafeAny for T where
    T: Any

impl<T> PersistentInto<Arc<Mutex<T>>> for T

impl<T> PersistentInto<Arc<RwLock<T>>> for T

impl<T> PersistentInto<T> for T

impl<T> PersistentInto<Arc<T>> for T