Struct async_graphql::http::GraphQLPlaygroundConfig [−][src]
pub struct GraphQLPlaygroundConfig<'a> { /* fields omitted */ }Expand description
Config for GraphQL Playground
Implementations
Set subscription endpoint, for example: ws://localhost:8000.
Set HTTP header for per query.
Set Playground setting for per query.
GraphQLPlaygroundConfig::new("/api/graphql")
.with_setting("setting", false)
.with_setting("other", Value::Null);Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for GraphQLPlaygroundConfig<'a>
impl<'a> Send for GraphQLPlaygroundConfig<'a>
impl<'a> Sync for GraphQLPlaygroundConfig<'a>
impl<'a> Unpin for GraphQLPlaygroundConfig<'a>
impl<'a> UnwindSafe for GraphQLPlaygroundConfig<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more