Function async_graphql::resolver_utils::enum_value
source · pub fn enum_value<T: EnumType>(value: T) -> ValueExpand description
Convert the enum value into a GraphQL value.
This can be used to implement InputType::to_value or
OutputType::resolve.