Skip to main content

vantage_table/column/
flags.rs

1/// Column flags that define behavior and properties of columns.
2#[derive(Debug, Clone, Hash, PartialEq, Eq)]
3pub enum ColumnFlag {
4    /// Mandatory will require read/write operations to always have value for this field, it cannot be missing
5    Mandatory,
6    /// Hidden columns should be excluded from UI display
7    Hidden,
8    /// IdField marks this column as the primary identifier for the table
9    IdField,
10    /// TitleField marks this column as the display title/name for records
11    TitleField,
12    /// Searchable marks this column as searchable in text searches
13    Searchable,
14}