Struct sea_schema::postgres::def::ColumnInfo [−][src]
pub struct ColumnInfo {
pub name: String,
pub col_type: ColumnType,
pub default: Option<ColumnExpression>,
pub generated: Option<ColumnExpression>,
pub not_null: Option<NotNull>,
}This is supported on crate features
postgres and def only.Fields
name: StringThe name of the column
col_type: ColumnTypeThe type of the column with any additional definitions such as the precision or the character set
default: Option<ColumnExpression>The default value experssion for this column, if any
generated: Option<ColumnExpression>The generation expression for this column, if it is a generated colum
not_null: Option<NotNull>Implementations
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ColumnInfo
impl Send for ColumnInfo
impl Sync for ColumnInfo
impl Unpin for ColumnInfo
impl UnwindSafe for ColumnInfo
Blanket Implementations
Mutably borrows from an owned value. Read more