#[repr(C)]pub struct PLpgSQL_plugin {
pub func_setup: Option<unsafe extern "C" fn(estate: *mut PLpgSQL_execstate, func: *mut PLpgSQL_function)>,
pub func_beg: Option<unsafe extern "C" fn(estate: *mut PLpgSQL_execstate, func: *mut PLpgSQL_function)>,
pub func_end: Option<unsafe extern "C" fn(estate: *mut PLpgSQL_execstate, func: *mut PLpgSQL_function)>,
pub stmt_beg: Option<unsafe extern "C" fn(estate: *mut PLpgSQL_execstate, stmt: *mut PLpgSQL_stmt)>,
pub stmt_end: Option<unsafe extern "C" fn(estate: *mut PLpgSQL_execstate, stmt: *mut PLpgSQL_stmt)>,
pub error_callback: Option<unsafe extern "C" fn(arg: *mut c_void)>,
pub assign_expr: Option<unsafe extern "C" fn(estate: *mut PLpgSQL_execstate, target: *mut PLpgSQL_datum, expr: *mut PLpgSQL_expr)>,
}
Fields§
§func_setup: Option<unsafe extern "C" fn(estate: *mut PLpgSQL_execstate, func: *mut PLpgSQL_function)>
§func_beg: Option<unsafe extern "C" fn(estate: *mut PLpgSQL_execstate, func: *mut PLpgSQL_function)>
§func_end: Option<unsafe extern "C" fn(estate: *mut PLpgSQL_execstate, func: *mut PLpgSQL_function)>
§stmt_beg: Option<unsafe extern "C" fn(estate: *mut PLpgSQL_execstate, stmt: *mut PLpgSQL_stmt)>
§stmt_end: Option<unsafe extern "C" fn(estate: *mut PLpgSQL_execstate, stmt: *mut PLpgSQL_stmt)>
§error_callback: Option<unsafe extern "C" fn(arg: *mut c_void)>
§assign_expr: Option<unsafe extern "C" fn(estate: *mut PLpgSQL_execstate, target: *mut PLpgSQL_datum, expr: *mut PLpgSQL_expr)>
Trait Implementations§
Source§impl Clone for PLpgSQL_plugin
impl Clone for PLpgSQL_plugin
Source§fn clone(&self) -> PLpgSQL_plugin
fn clone(&self) -> PLpgSQL_plugin
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 PLpgSQL_plugin
impl Debug for PLpgSQL_plugin
Source§impl Default for PLpgSQL_plugin
impl Default for PLpgSQL_plugin
Source§fn default() -> PLpgSQL_plugin
fn default() -> PLpgSQL_plugin
Returns the “default value” for a type. Read more
impl Copy for PLpgSQL_plugin
Auto Trait Implementations§
impl Freeze for PLpgSQL_plugin
impl RefUnwindSafe for PLpgSQL_plugin
impl Send for PLpgSQL_plugin
impl Sync for PLpgSQL_plugin
impl Unpin for PLpgSQL_plugin
impl UnwindSafe for PLpgSQL_plugin
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