[][src]Struct pgx_pg_sys::TupleTableSlotOps

#[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: usizeinit: 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

impl Clone for TupleTableSlotOps[src]

impl Copy for TupleTableSlotOps[src]

impl Debug for TupleTableSlotOps[src]

impl Default for TupleTableSlotOps[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.