Trait GQLEnum
async_graphql
pub trait GQLEnum: GQLType + Sized + Eq + Send + Copy + Sized + 'static { fn items() -> &'static [GQLEnumItem<Self>]; fn parse_enum(value: &Value) -> Option<Self> { ... } fn resolve_enum(&self) -> Result<Value> { ... } }
fn items() -> &'static [GQLEnumItem<Self>]
fn parse_enum(value: &Value) -> Option<Self>
fn resolve_enum(&self) -> Result<Value>