pgrx_pg_sys

Struct PLpgSQL_function

Source
#[repr(C)]
pub struct PLpgSQL_function {
Show 34 fields pub fn_signature: *mut c_char, pub fn_oid: Oid, pub fn_xmin: TransactionId, pub fn_tid: ItemPointerData, pub fn_is_trigger: Type, pub fn_input_collation: Oid, pub fn_hashkey: *mut PLpgSQL_func_hashkey, pub fn_cxt: MemoryContext, pub fn_rettype: Oid, pub fn_rettyplen: c_int, pub fn_retbyval: bool, pub fn_retistuple: bool, pub fn_retisdomain: bool, pub fn_retset: bool, pub fn_readonly: bool, pub fn_prokind: c_char, pub fn_nargs: c_int, pub fn_argvarnos: [c_int; 100], pub out_param_varno: c_int, pub found_varno: c_int, pub new_varno: c_int, pub old_varno: c_int, pub resolve_option: Type, pub print_strict_params: bool, pub extra_warnings: c_int, pub extra_errors: c_int, pub ndatums: c_int, pub datums: *mut *mut PLpgSQL_datum, pub copiable_size: Size, pub action: *mut PLpgSQL_stmt_block, pub nstatements: c_uint, pub requires_procedure_resowner: bool, pub cur_estate: *mut PLpgSQL_execstate, pub use_count: c_ulong,
}

Fields§

§fn_signature: *mut c_char§fn_oid: Oid§fn_xmin: TransactionId§fn_tid: ItemPointerData§fn_is_trigger: Type§fn_input_collation: Oid§fn_hashkey: *mut PLpgSQL_func_hashkey§fn_cxt: MemoryContext§fn_rettype: Oid§fn_rettyplen: c_int§fn_retbyval: bool§fn_retistuple: bool§fn_retisdomain: bool§fn_retset: bool§fn_readonly: bool§fn_prokind: c_char§fn_nargs: c_int§fn_argvarnos: [c_int; 100]§out_param_varno: c_int§found_varno: c_int§new_varno: c_int§old_varno: c_int§resolve_option: Type§print_strict_params: bool§extra_warnings: c_int§extra_errors: c_int§ndatums: c_int§datums: *mut *mut PLpgSQL_datum§copiable_size: Size§action: *mut PLpgSQL_stmt_block§nstatements: c_uint§requires_procedure_resowner: bool§cur_estate: *mut PLpgSQL_execstate§use_count: c_ulong

Trait Implementations§

Source§

impl Clone for PLpgSQL_function

Source§

fn clone(&self) -> PLpgSQL_function

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PLpgSQL_function

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for PLpgSQL_function

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for PLpgSQL_function

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.