Struct dbml_rs::ast::table::ColumnSettings
source · pub struct ColumnSettings {
pub span_range: Range<usize>,
pub is_pk: bool,
pub is_unique: bool,
pub is_nullable: bool,
pub is_incremental: bool,
pub note: Option<String>,
pub default: Option<Value>,
pub refs: Vec<RefInline>,
}Fields§
§span_range: Range<usize>§is_pk: bool§is_unique: bool§is_nullable: bool§is_incremental: bool§note: Option<String>§default: Option<Value>§refs: Vec<RefInline>Trait Implementations§
source§impl Clone for ColumnSettings
impl Clone for ColumnSettings
source§fn clone(&self) -> ColumnSettings
fn clone(&self) -> ColumnSettings
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 ColumnSettings
impl Debug for ColumnSettings
source§impl Default for ColumnSettings
impl Default for ColumnSettings
source§fn default() -> ColumnSettings
fn default() -> ColumnSettings
Returns the “default value” for a type. Read more
source§impl PartialEq<ColumnSettings> for ColumnSettings
impl PartialEq<ColumnSettings> for ColumnSettings
source§fn eq(&self, other: &ColumnSettings) -> bool
fn eq(&self, other: &ColumnSettings) -> bool
This method tests for
self and other values to be equal, and is used
by ==.