[−][src]Enum speedruns::data::graphql::Node
Variants
Game(Game)
User(User)
Category(Category)
Level(Level)
Run(Run)
Trait Implementations
impl From<Category> for Node
[src]
impl From<Game> for Node
[src]
impl From<Level> for Node
[src]
impl From<Run> for Node
[src]
impl From<User> for Node
[src]
impl GraphQLType<DefaultScalarValue> for Node
type Context = Context
The expected context type for this GraphQL type Read more
type TypeInfo = ()
Type that may carry additional schema information Read more
fn name(_: &Self::TypeInfo) -> Option<&str>
fn meta<'r>(
info: &Self::TypeInfo,
registry: &mut Registry<'r, DefaultScalarValue>
) -> MetaType<'r, DefaultScalarValue> where
&'__b DefaultScalarValue: ScalarRefValue<'__b>,
DefaultScalarValue: 'r,
info: &Self::TypeInfo,
registry: &mut Registry<'r, DefaultScalarValue>
) -> MetaType<'r, DefaultScalarValue> where
&'__b DefaultScalarValue: ScalarRefValue<'__b>,
DefaultScalarValue: 'r,
fn resolve_field(
&self,
info: &Self::TypeInfo,
field: &str,
args: &Arguments<DefaultScalarValue>,
executor: &Executor<Self::Context, DefaultScalarValue>
) -> ExecutionResult<DefaultScalarValue>
&self,
info: &Self::TypeInfo,
field: &str,
args: &Arguments<DefaultScalarValue>,
executor: &Executor<Self::Context, DefaultScalarValue>
) -> ExecutionResult<DefaultScalarValue>
fn concrete_type_name(
&self,
context: &Self::Context,
_info: &Self::TypeInfo
) -> String
&self,
context: &Self::Context,
_info: &Self::TypeInfo
) -> String
fn resolve_into_type(
&self,
_info: &Self::TypeInfo,
type_name: &str,
_: Option<&[Selection<DefaultScalarValue>]>,
executor: &Executor<Self::Context, DefaultScalarValue>
) -> ExecutionResult<DefaultScalarValue>
&self,
_info: &Self::TypeInfo,
type_name: &str,
_: Option<&[Selection<DefaultScalarValue>]>,
executor: &Executor<Self::Context, DefaultScalarValue>
) -> ExecutionResult<DefaultScalarValue>
fn resolve(
&self,
info: &Self::TypeInfo,
selection_set: Option<&[Selection<S>]>,
executor: &Executor<Self::Context, S>
) -> Value<S>
[src]
&self,
info: &Self::TypeInfo,
selection_set: Option<&[Selection<S>]>,
executor: &Executor<Self::Context, S>
) -> Value<S>
Auto Trait Implementations
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,