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
fn as_dyn_graphql_value(
&self
) -> &DynGraphQLValue<S, Self::Context, Self::TypeInfo>
[src]
fn as_dyn_graphql_value(
&self
) -> &DynGraphQLValue<S, Self::Context, Self::TypeInfo>
[src]Converts this value to a DynGraphQLValue
trait object.
fn as_dyn_graphql_value_async(
&self
) -> &DynGraphQLValueAsync<S, Self::Context, Self::TypeInfo>
[src]
fn as_dyn_graphql_value_async(
&self
) -> &DynGraphQLValueAsync<S, Self::Context, Self::TypeInfo>
[src]Converts this value to a DynGraphQLValueAsync
trait object.