Struct pgx_pg_sys::TypeName
source · [−]#[repr(C)]pub struct TypeName {
pub type_: NodeTag,
pub names: *mut List,
pub typeOid: Oid,
pub setof: bool,
pub pct_type: bool,
pub typmods: *mut List,
pub typemod: int32,
pub arrayBounds: *mut List,
pub location: c_int,
}
Expand description
Supporting data structures for Parse Trees
Most of these node types appear in raw parsetrees output by the grammar, and get transformed to something else by the analyzer. A few of them are used as-is in transformed querytrees.
Fields
type_: NodeTag
names: *mut List
typeOid: Oid
setof: bool
pct_type: bool
typmods: *mut List
typemod: int32
arrayBounds: *mut List
location: c_int
Trait Implementations
impl Copy for TypeName
Auto Trait Implementations
impl RefUnwindSafe for TypeName
impl !Send for TypeName
impl !Sync for TypeName
impl Unpin for TypeName
impl UnwindSafe for TypeName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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