pub struct TableColumn {
pub span_range: Range<usize>,
pub name: Ident,
pub type: ColumnType,
pub settings: Option<ColumnSettings>,
}
Expand description
Represents a single column or field of the table.
Fields§
§span_range: Range<usize>
The range of the span in the source text.
name: Ident
The column name.
type: ColumnType
The data type of the column.
settings: Option<ColumnSettings>
The settings of the column.
Trait Implementations§
Source§impl Clone for TableColumn
impl Clone for TableColumn
Source§fn clone(&self) -> TableColumn
fn clone(&self) -> TableColumn
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TableColumn
impl Debug for TableColumn
Source§impl Default for TableColumn
impl Default for TableColumn
Source§fn default() -> TableColumn
fn default() -> TableColumn
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TableColumn
impl RefUnwindSafe for TableColumn
impl Send for TableColumn
impl Sync for TableColumn
impl Unpin for TableColumn
impl UnwindSafe for TableColumn
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