Struct async_graphql::http::GraphiQLPlugin
source · pub struct GraphiQLPlugin<'a> {
pub name: &'a str,
pub constructor: &'a str,
pub head_assets: Option<&'a str>,
pub body_assets: Option<&'a str>,
pub pre_configs: Option<&'a str>,
pub props: Option<&'a str>,
}
Fields§
§name: &'a str
§constructor: &'a str
§head_assets: Option<&'a str>
assets which would be placed in head
body_assets: Option<&'a str>
assets which would be placed in body
pre_configs: Option<&'a str>
related configs which would be placed before loading plugin
props: Option<&'a str>
props which would be passed to the plugin’s constructor
Trait Implementations§
source§impl<'a> Debug for GraphiQLPlugin<'a>
impl<'a> Debug for GraphiQLPlugin<'a>
source§impl<'a> Default for GraphiQLPlugin<'a>
impl<'a> Default for GraphiQLPlugin<'a>
source§fn default() -> GraphiQLPlugin<'a>
fn default() -> GraphiQLPlugin<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for GraphiQLPlugin<'a>
impl<'a> RefUnwindSafe for GraphiQLPlugin<'a>
impl<'a> Send for GraphiQLPlugin<'a>
impl<'a> Sync for GraphiQLPlugin<'a>
impl<'a> Unpin for GraphiQLPlugin<'a>
impl<'a> UnwindSafe for GraphiQLPlugin<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more