Struct dbml_rs::ast::table::TableBlock
source · pub struct TableBlock {
pub span_range: Range<usize>,
pub cols: Vec<TableColumn>,
pub ident: TableIdent,
pub note: Option<String>,
pub indexes: Option<IndexesBlock>,
pub settings: Option<Vec<(String, Value)>>,
pub meta_indexer: TableIndexer,
}Fields§
§span_range: Range<usize>§cols: Vec<TableColumn>§ident: TableIdent§note: Option<String>§indexes: Option<IndexesBlock>§settings: Option<Vec<(String, Value)>>§meta_indexer: TableIndexerTrait Implementations§
source§impl Clone for TableBlock
impl Clone for TableBlock
source§fn clone(&self) -> TableBlock
fn clone(&self) -> TableBlock
Returns a copy 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 TableBlock
impl Debug for TableBlock
source§impl Default for TableBlock
impl Default for TableBlock
source§fn default() -> TableBlock
fn default() -> TableBlock
Returns the “default value” for a type. Read more
source§impl PartialEq<TableBlock> for TableBlock
impl PartialEq<TableBlock> for TableBlock
source§fn eq(&self, other: &TableBlock) -> bool
fn eq(&self, other: &TableBlock) -> bool
This method tests for
self and other values to be equal, and is used
by ==.