holocron 0.3.0

Declarative schema & query compiler — one YAML as the source of truth for SQL schema and a type-checked query catalog.
Documentation
1
2
3
4
5
6
7
8
9
use crate::span::{Span, Spanned};

/// A `CREATE TYPE … AS ENUM`: a named, fixed set of allowed string values.
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct EnumType {
    pub name: Spanned<String>,
    pub r#enum: Vec<Spanned<String>>,
    pub span: Span,
}