Function async_graphql::resolver_utils::parse_enum
source · pub fn parse_enum<T: EnumType + InputType>(value: Value) -> InputValueResult<T>
Expand description
Parse a value as an enum value.
This can be used to implement InputType::parse
.