1
2
3
4
5
6
7
8
9
use crate::literals::LiteralType;
use crate::SchemaField;

#[derive(Clone, Debug, Default)]
pub struct EnumType {
    pub name: Option<String>,
    pub values: Vec<LiteralType>,
    pub variants: Option<Vec<SchemaField>>,
}