Struct server::parse::ast::ColumnInfo [] [src]

pub struct ColumnInfo {
    pub cid: String,
    pub datatype: SqlType,
    pub primary: bool,
    pub auto_increment: bool,
    pub not_null: bool,
    pub comment: Option<String>,
}
[]

Information for column creation

Fields

cid
datatype
primary
auto_increment
not_null
comment

Trait Implementations

Derived Implementations

impl PartialEq for ColumnInfo

fn eq(&self, __arg_0: &ColumnInfo) -> bool

fn ne(&self, __arg_0: &ColumnInfo) -> bool

impl Clone for ColumnInfo

fn clone(&self) -> ColumnInfo

fn clone_from(&mut self, source: &Self)

impl Debug for ColumnInfo

fn fmt(&self, __arg_0: &mut Formatter) -> Result