Struct telemetry_service::schema::QueryRoot
source · [−]pub struct QueryRoot;
Trait Implementations
sourceimpl GraphQLType<DefaultScalarValue> for QueryRoot
impl GraphQLType<DefaultScalarValue> for QueryRoot
sourcefn meta<'r>(
info: &Self::TypeInfo,
registry: &mut Registry<'r, DefaultScalarValue>
) -> MetaType<'r, DefaultScalarValue> where
for<'__b> &'__b DefaultScalarValue: ScalarRefValue<'__b>,
DefaultScalarValue: 'r,
fn meta<'r>(
info: &Self::TypeInfo,
registry: &mut Registry<'r, DefaultScalarValue>
) -> MetaType<'r, DefaultScalarValue> where
for<'__b> &'__b DefaultScalarValue: ScalarRefValue<'__b>,
DefaultScalarValue: 'r,
The meta type representing this GraphQL type.
sourcefn concrete_type_name(&self, _: &Self::Context, _: &Self::TypeInfo) -> String
fn concrete_type_name(&self, _: &Self::Context, _: &Self::TypeInfo) -> String
Return the concrete type name for this instance/union. Read more
sourcefn resolve_field(
&self,
info: &Self::TypeInfo,
field: &str,
args: &Arguments<'_, DefaultScalarValue>,
executor: &Executor<'_, Self::Context, DefaultScalarValue>
) -> ExecutionResult<DefaultScalarValue>
fn resolve_field(
&self,
info: &Self::TypeInfo,
field: &str,
args: &Arguments<'_, DefaultScalarValue>,
executor: &Executor<'_, Self::Context, DefaultScalarValue>
) -> ExecutionResult<DefaultScalarValue>
Resolve the value of a single field on this type. Read more
fn resolve_into_type(
&self,
info: &Self::TypeInfo,
type_name: &str,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, Self::Context, S>
) -> Result<Value<S>, FieldError<S>>
fn resolve_into_type(
&self,
info: &Self::TypeInfo,
type_name: &str,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, Self::Context, S>
) -> Result<Value<S>, FieldError<S>>
Resolve this interface or union into a concrete type Read more
Auto Trait Implementations
impl RefUnwindSafe for QueryRoot
impl Send for QueryRoot
impl Sync for QueryRoot
impl Unpin for QueryRoot
impl UnwindSafe for QueryRoot
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more