Struct pgrx_pg_sys::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: PLpgSQL_trigtype, 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: PLpgSQL_resolve_option, 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: PLpgSQL_trigtype§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: PLpgSQL_resolve_option§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> 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,

§

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>,

§

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>,

§

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.