Struct pgx_pg_sys::VariableStatData
source · [−]#[repr(C)]pub struct VariableStatData {
pub var: *mut Node,
pub rel: *mut RelOptInfo,
pub statsTuple: HeapTuple,
pub freefunc: Option<unsafe extern "C" fn(tuple: HeapTuple)>,
pub vartype: Oid,
pub atttype: Oid,
pub atttypmod: int32,
pub isunique: bool,
pub acl_ok: bool,
}
Fields
var: *mut Node
rel: *mut RelOptInfo
statsTuple: HeapTuple
freefunc: Option<unsafe extern "C" fn(tuple: HeapTuple)>
vartype: Oid
atttype: Oid
atttypmod: int32
isunique: bool
acl_ok: bool
Trait Implementations
sourceimpl Clone for VariableStatData
impl Clone for VariableStatData
sourcefn clone(&self) -> VariableStatData
fn clone(&self) -> VariableStatData
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 VariableStatData
impl Debug for VariableStatData
sourceimpl Default for VariableStatData
impl Default for VariableStatData
impl Copy for VariableStatData
Auto Trait Implementations
impl RefUnwindSafe for VariableStatData
impl !Send for VariableStatData
impl !Sync for VariableStatData
impl Unpin for VariableStatData
impl UnwindSafe for VariableStatData
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