gluesql_core/ast/
data_type.rs1use {
2 serde::{Deserialize, Serialize},
3 strum_macros::Display,
4};
5
6#[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize, Display)]
7#[strum(serialize_all = "SCREAMING_SNAKE_CASE")]
8pub enum DataType {
9 Boolean,
10 Int8,
11 Int16,
12 Int32,
13 Int,
14 Int128,
15 Uint8,
16 Uint16,
17 Uint32,
18 Uint64,
19 Uint128,
20 Float32,
21 Float,
22 Text,
23 Bytea,
24 Inet,
25 Date,
26 Timestamp,
27 Time,
28 Interval,
29 Uuid,
30 Map,
31 List,
32 Decimal,
33 Point,
34}