Trait async_graphql::resolver_utils::EnumType[][src]

pub trait EnumType: Sized + Eq + Send + Copy + Sized + 'static {
    fn items() -> &'static [EnumItem<Self>]
Notable traits for &'_ mut [u8]
impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [u8]
; }
Expand description

A GraphQL enum.

Required methods

Get a list of possible variants of the enum and their values.

Implementors