pub struct GraphiQLSource { /* private fields */ }Implementations§
Source§impl GraphiQLSource
impl GraphiQLSource
Sourcepub fn regenerate(&mut self, endpoint_url: impl AsRef<str>)
pub fn regenerate(&mut self, endpoint_url: impl AsRef<str>)
Regenerate the GraphiQL interface with the specified endpoint URL.
Trait Implementations§
Source§impl Debug for GraphiQLSource
impl Debug for GraphiQLSource
Source§impl<'a> Endpoint<'a> for GraphiQLSource
impl<'a> Endpoint<'a> for GraphiQLSource
Source§fn apply(&'a self, _: &mut ApplyContext<'_>) -> ApplyResult<Self::Future>
fn apply(&'a self, _: &mut ApplyContext<'_>) -> ApplyResult<Self::Future>
Perform checking the incoming HTTP request and returns
an instance of the associated Future if matched.
Source§fn with_output<T>(self) -> Self
fn with_output<T>(self) -> Self
Add an annotation that the associated type
Output is fixed to T.Auto Trait Implementations§
impl !Freeze for GraphiQLSource
impl RefUnwindSafe for GraphiQLSource
impl Send for GraphiQLSource
impl Sync for GraphiQLSource
impl Unpin for GraphiQLSource
impl UnwindSafe for GraphiQLSource
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
Source§impl<'a, E> EndpointWrapExt<'a> for Ewhere
E: Endpoint<'a>,
impl<'a, E> EndpointWrapExt<'a> for Ewhere
E: Endpoint<'a>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more