#[repr(C)]
pub struct ColumnDef {
Show 19 fields pub type_: NodeTag, pub colname: *mut c_char, pub typeName: *mut TypeName, pub compression: *mut c_char, pub inhcount: c_int, pub is_local: bool, pub is_not_null: bool, pub is_from_type: bool, pub storage: c_char, pub raw_default: *mut Node, pub cooked_default: *mut Node, pub identity: c_char, pub identitySequence: *mut RangeVar, pub generated: c_char, pub collClause: *mut CollateClause, pub collOid: Oid, pub constraints: *mut List, pub fdwoptions: *mut List, pub location: c_int,
}

Fields

type_: NodeTagcolname: *mut c_chartypeName: *mut TypeNamecompression: *mut c_charinhcount: c_intis_local: boolis_not_null: boolis_from_type: boolstorage: c_charraw_default: *mut Nodecooked_default: *mut Nodeidentity: c_charidentitySequence: *mut RangeVargenerated: c_charcollClause: *mut CollateClausecollOid: Oidconstraints: *mut Listfdwoptions: *mut Listlocation: c_int

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Formats the value using the given formatter. Read more

Represent this node as a mutable pointer of its type

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.