/// Generate the DDL for one column, i.e. the part of a `create table`
/// statement for this column.
///
/// See the unit tests at the end of this file for the actual DDL that
/// gets generated
Generate the DDL for one column, i.e. the part of a `create table`
statement for this column.

See the unit tests at the end of this file for the actual DDL that
gets generated
Generate the DDL for one column i . e . the part of a ` create table ` statement for this column . See the unit tests at the end of this file for the actual DDL that gets generated
fn as_ddl(&self, out: &mut String) -> fmt::Result {
        write!(out, "    ")?;
        write!(out, "{:20} {}", self.name.quoted(), self.sql_type())?;
        if self.is_list() {
            write!(out, "[]")?;
        }
        if self.name.0 == PRIMARY_KEY_COLUMN || !self.is_nullable() {
            write!(out, " not null")?;
        }
        Ok(())
    }
fn as_ddl ( & self , out : & mut String ) -> fmt :: Result { write ! ( out " " ) ? ; write ! ( out " " self name quoted ( ) self sql_type ( ) ) ? ; if self . is_list ( ) { write ! ( out " " ) ? ; } if self . name . 0 == PRIMARY_KEY_COLUMN || ! self . is_nullable ( ) { write ! ( out " " ) ? ; } Ok ( ( ) ) }
Generate the DDL for one column, i.e.
Generate the DDL for one column i . e .
&self
out
&mut String