#[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§
Source§impl Clone for TupleTableSlotOps
impl Clone for TupleTableSlotOps
Source§fn clone(&self) -> TupleTableSlotOps
fn clone(&self) -> TupleTableSlotOps
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TupleTableSlotOps
impl Debug for TupleTableSlotOps
Source§impl Default for TupleTableSlotOps
impl Default for TupleTableSlotOps
Source§fn default() -> TupleTableSlotOps
fn default() -> TupleTableSlotOps
Returns the “default value” for a type. Read more
impl Copy for TupleTableSlotOps
Auto Trait Implementations§
impl Freeze for TupleTableSlotOps
impl RefUnwindSafe for TupleTableSlotOps
impl Send for TupleTableSlotOps
impl Sync for TupleTableSlotOps
impl Unpin for TupleTableSlotOps
impl UnwindSafe for TupleTableSlotOps
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more