1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub use super::{Annotations, Ident, IntConstant};

#[derive(Debug)]
pub struct EnumValue {
    pub name: Ident,
    pub value: Option<IntConstant>,
    pub annotations: Annotations,
}

#[derive(Debug)]
pub struct Enum {
    pub name: Ident,
    pub values: Vec<EnumValue>,
    pub annotations: Annotations,
}