pub struct Column {
pub name: String,
pub kind: ColumnKind,
pub is_hidden: bool,
pub sort_by_column: Option<String>,
pub group_by_columns: Vec<String>,
pub variations: Vec<Variation>,
}Expand description
A column of a table.
Fields§
§name: StringColumn name.
kind: ColumnKindHow the column’s values are produced.
Hidden from report authors; hidden objects are still live if referenced.
sort_by_column: Option<String>Name of another column in the same table (TOM sortByColumn). Liveness edge: a used column keeps its sort-by column alive.
group_by_columns: Vec<String>Names of other columns in the same table (TOM groupByColumns). Liveness edge: a used column keeps its group-by columns alive.
variations: Vec<Variation>Column variations (TOM variations): bindings of this column to
hierarchies on other tables — for auto date/time, the engine’s hidden
LocalDateTable_* machinery.
Trait Implementations§
impl Eq for Column
impl StructuralPartialEq for Column
Auto Trait Implementations§
impl Freeze for Column
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnsafeUnpin for Column
impl UnwindSafe for Column
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.