Struct juniper::meta::EnumMeta [] [src]

pub struct EnumMeta<'a> { /* fields omitted */ }

Enum type metadata

Methods

impl<'a> EnumMeta<'a>
[src]

Build a new enum type with the specified name and possible values

Set the description of the type

If a description was provided prior to calling this method, it will be overwritten

Wrap this enum type in a generic meta type

Trait Implementations

impl<'a> Debug for EnumMeta<'a>
[src]

Formats the value using the given formatter.