Struct juniper::meta::EnumMeta
[−]
[src]
pub struct EnumMeta { /* fields omitted */ }
Enum type metadata
Methods
impl EnumMeta
[src]
fn new<T: FromInputValue>(name: &str, values: &[EnumValue]) -> EnumMeta
Build a new enum type with the specified name and possible values
fn description(self, description: &str) -> EnumMeta
Set the description of the type
If a description was provided prior to calling this method, it will be overwritten
fn into_meta(self) -> MetaType
Wrap this enum type in a generic meta type