Trait juniper::AsDynGraphQLValue[][src]

pub trait AsDynGraphQLValue<S: ScalarValue = DefaultScalarValue> {
    type Context;
    type TypeInfo;
    fn as_dyn_graphql_value(
        &self
    ) -> &DynGraphQLValue<S, Self::Context, Self::TypeInfo>;
fn as_dyn_graphql_value_async(
        &self
    ) -> &DynGraphQLValueAsync<S, Self::Context, Self::TypeInfo>; }
Expand description

Conversion of a GraphQLValue to its trait object.

Associated Types

Context type of this GraphQLValue.

Schema information type of this GraphQLValue.

Required methods

Converts this value to a DynGraphQLValue trait object.

Converts this value to a DynGraphQLValueAsync trait object.

Implementors