Skip to main content

EnumType

Type Alias EnumType 

Source
pub type EnumType = EnumType<'static, String>;

Aliased Type§

pub struct EnumType {
    pub position: Pos,
    pub description: Option<String>,
    pub name: String,
    pub directives: Vec<Directive<'static, String>>,
    pub values: Vec<EnumValue<'static, String>>,
}

Fields§

§position: Pos§description: Option<String>§name: String§directives: Vec<Directive<'static, String>>§values: Vec<EnumValue<'static, String>>

Trait Implementations§

Source§

impl Hash for EnumType

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more