Function async_graphql::resolver_utils::parse_enum [−][src]
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
.