qcraft_core/render/
policy.rs1#[derive(Debug, Clone, Copy, PartialEq, Eq)]
3pub enum UnsupportedPolicy {
4 Ignore,
6 Warn,
8 Error,
10}
11
12#[derive(Debug, Clone)]
14pub struct Warning {
15 pub feature: &'static str,
16 pub message: String,
17}
18
19#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
21pub enum Feature {
22 IfNotExists,
24 Temporary,
25 Unlogged,
26 Tablespace,
27 Inherits,
28 PartitionBy,
29 TableComment,
30
31 ColumnCollation,
33 ColumnComment,
34 ColumnStorage,
35 ColumnCompression,
36 GeneratedVirtual,
37 GeneratedStored,
38 Identity,
39
40 Deferrable,
42 CheckNoInherit,
43 CheckEnforced,
44 NullsDistinct,
45 ExclusionConstraint,
46 ForeignKeyOnUpdate,
47 ForeignKeyMatchType,
48 ConstraintNotValid,
49 ValidateConstraint,
50 RenameConstraint,
51
52 IndexIfNotExists,
54 IndexConcurrently,
55 IndexOnline,
56 IndexType,
57 IndexInclude,
58 IndexPartialWhere,
59 IndexExpressionColumn,
60 IndexNullsOrder,
61 IndexOperatorClass,
62 IndexParameters,
63 IndexTablespace,
64 IndexInvisible,
65
66 AlterColumnType,
68 AlterColumnDefault,
69 AlterColumnNullability,
70 AddConstraint,
71 DropConstraint,
72 ColumnPosition,
73
74 DropCascade,
76 DropRestrict,
77
78 DropIndexConcurrently,
80 DropIndexCascade,
81
82 CreateExtension,
84 DropExtension,
85}