Struct pgx_pg_sys::IndexOptInfo
source · [−]#[repr(C)]pub struct IndexOptInfo {Show 36 fields
pub type_: NodeTag,
pub indexoid: Oid,
pub reltablespace: Oid,
pub rel: *mut RelOptInfo,
pub pages: BlockNumber,
pub tuples: f64,
pub tree_height: c_int,
pub ncolumns: c_int,
pub nkeycolumns: c_int,
pub indexkeys: *mut c_int,
pub indexcollations: *mut Oid,
pub opfamily: *mut Oid,
pub opcintype: *mut Oid,
pub sortopfamily: *mut Oid,
pub reverse_sort: *mut bool,
pub nulls_first: *mut bool,
pub opclassoptions: *mut *mut bytea,
pub canreturn: *mut bool,
pub relam: Oid,
pub indexprs: *mut List,
pub indpred: *mut List,
pub indextlist: *mut List,
pub indrestrictinfo: *mut List,
pub predOK: bool,
pub unique: bool,
pub immediate: bool,
pub hypothetical: bool,
pub amcanorderbyop: bool,
pub amoptionalkey: bool,
pub amsearcharray: bool,
pub amsearchnulls: bool,
pub amhasgettuple: bool,
pub amhasgetbitmap: bool,
pub amcanparallel: bool,
pub amcanmarkpos: bool,
pub amcostestimate: Option<unsafe extern "C" fn()>,
}
Fields
type_: NodeTag
indexoid: Oid
reltablespace: Oid
rel: *mut RelOptInfo
pages: BlockNumber
tuples: f64
tree_height: c_int
ncolumns: c_int
nkeycolumns: c_int
indexkeys: *mut c_int
indexcollations: *mut Oid
opfamily: *mut Oid
opcintype: *mut Oid
sortopfamily: *mut Oid
reverse_sort: *mut bool
nulls_first: *mut bool
opclassoptions: *mut *mut bytea
canreturn: *mut bool
relam: Oid
indexprs: *mut List
indpred: *mut List
indextlist: *mut List
indrestrictinfo: *mut List
predOK: bool
unique: bool
immediate: bool
hypothetical: bool
amcanorderbyop: bool
amoptionalkey: bool
amsearcharray: bool
amsearchnulls: bool
amhasgettuple: bool
amhasgetbitmap: bool
amcanparallel: bool
amcanmarkpos: bool
amcostestimate: Option<unsafe extern "C" fn()>
Trait Implementations
sourceimpl Clone for IndexOptInfo
impl Clone for IndexOptInfo
sourcefn clone(&self) -> IndexOptInfo
fn clone(&self) -> IndexOptInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IndexOptInfo
impl Debug for IndexOptInfo
sourceimpl Default for IndexOptInfo
impl Default for IndexOptInfo
sourceimpl Display for IndexOptInfo
impl Display for IndexOptInfo
sourceimpl PgNode for IndexOptInfo
impl PgNode for IndexOptInfo
type NodeType = IndexOptInfo
sourcefn as_node_ptr(&self) -> *mut Self::NodeType
fn as_node_ptr(&self) -> *mut Self::NodeType
Represent this node as a mutable pointer of its type
impl Copy for IndexOptInfo
Auto Trait Implementations
impl RefUnwindSafe for IndexOptInfo
impl !Send for IndexOptInfo
impl !Sync for IndexOptInfo
impl Unpin for IndexOptInfo
impl UnwindSafe for IndexOptInfo
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