Struct pgx_pg_sys::TupleTableSlotOps
source · [−]#[repr(C)]pub struct TupleTableSlotOps {
pub base_slot_size: usize,
pub init: Option<unsafe extern "C" fn(slot: *mut TupleTableSlot)>,
pub release: Option<unsafe extern "C" fn(slot: *mut TupleTableSlot)>,
pub clear: Option<unsafe extern "C" fn(slot: *mut TupleTableSlot)>,
pub getsomeattrs: Option<unsafe extern "C" fn(slot: *mut TupleTableSlot, natts: c_int)>,
pub getsysattr: Option<unsafe extern "C" fn(slot: *mut TupleTableSlot, attnum: c_int, isnull: *mut bool) -> Datum>,
pub materialize: Option<unsafe extern "C" fn(slot: *mut TupleTableSlot)>,
pub copyslot: Option<unsafe extern "C" fn(dstslot: *mut TupleTableSlot, srcslot: *mut TupleTableSlot)>,
pub get_heap_tuple: Option<unsafe extern "C" fn(slot: *mut TupleTableSlot) -> HeapTuple>,
pub get_minimal_tuple: Option<unsafe extern "C" fn(slot: *mut TupleTableSlot) -> MinimalTuple>,
pub copy_heap_tuple: Option<unsafe extern "C" fn(slot: *mut TupleTableSlot) -> HeapTuple>,
pub copy_minimal_tuple: Option<unsafe extern "C" fn(slot: *mut TupleTableSlot) -> MinimalTuple>,
}
Fields
base_slot_size: usize
init: Option<unsafe extern "C" fn(slot: *mut TupleTableSlot)>
release: Option<unsafe extern "C" fn(slot: *mut TupleTableSlot)>
clear: Option<unsafe extern "C" fn(slot: *mut TupleTableSlot)>
getsomeattrs: Option<unsafe extern "C" fn(slot: *mut TupleTableSlot, natts: c_int)>
getsysattr: Option<unsafe extern "C" fn(slot: *mut TupleTableSlot, attnum: c_int, isnull: *mut bool) -> Datum>
materialize: Option<unsafe extern "C" fn(slot: *mut TupleTableSlot)>
copyslot: Option<unsafe extern "C" fn(dstslot: *mut TupleTableSlot, srcslot: *mut TupleTableSlot)>
get_heap_tuple: Option<unsafe extern "C" fn(slot: *mut TupleTableSlot) -> HeapTuple>
get_minimal_tuple: Option<unsafe extern "C" fn(slot: *mut TupleTableSlot) -> MinimalTuple>
copy_heap_tuple: Option<unsafe extern "C" fn(slot: *mut TupleTableSlot) -> HeapTuple>
copy_minimal_tuple: Option<unsafe extern "C" fn(slot: *mut TupleTableSlot) -> MinimalTuple>
Trait Implementations
sourceimpl Clone for TupleTableSlotOps
impl Clone for TupleTableSlotOps
sourcefn clone(&self) -> TupleTableSlotOps
fn clone(&self) -> TupleTableSlotOps
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 TupleTableSlotOps
impl Debug for TupleTableSlotOps
sourceimpl Default for TupleTableSlotOps
impl Default for TupleTableSlotOps
sourcefn default() -> TupleTableSlotOps
fn default() -> TupleTableSlotOps
Returns the “default value” for a type. Read more
impl Copy for TupleTableSlotOps
Auto Trait Implementations
impl RefUnwindSafe for TupleTableSlotOps
impl Send for TupleTableSlotOps
impl Sync for TupleTableSlotOps
impl Unpin for TupleTableSlotOps
impl UnwindSafe for TupleTableSlotOps
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