[][src]Trait juniper::AsDynGraphQLValue

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

Conversion of a GraphQLValue to its trait object.

Associated Types

type Context[src]

Context type of this GraphQLValue.

type TypeInfo[src]

Schema information type of this GraphQLValue.

Loading content...

Required methods

pub fn as_dyn_graphql_value(
    &self
) -> &DynGraphQLValue<S, Self::Context, Self::TypeInfo>
[src]

Converts this value to a DynGraphQLValue trait object.

pub fn as_dyn_graphql_value_async(
    &self
) -> &DynGraphQLValueAsync<S, Self::Context, Self::TypeInfo>
[src]

Converts this value to a DynGraphQLValueAsync trait object.

Loading content...

Implementors

Loading content...