Struct pgx_pg_sys::ColumnDef
source · [−]#[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_: NodeTag
colname: *mut c_char
typeName: *mut TypeName
compression: *mut c_char
inhcount: c_int
is_local: bool
is_not_null: bool
is_from_type: bool
storage: c_char
raw_default: *mut Node
cooked_default: *mut Node
identity: c_char
identitySequence: *mut RangeVar
generated: c_char
collClause: *mut CollateClause
collOid: Oid
constraints: *mut List
fdwoptions: *mut List
location: c_int
Trait Implementations
impl Copy for ColumnDef
Auto Trait Implementations
impl RefUnwindSafe for ColumnDef
impl !Send for ColumnDef
impl !Sync for ColumnDef
impl Unpin for ColumnDef
impl UnwindSafe for ColumnDef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more