Struct pgx_pg_sys::TriggerData
source · [−]#[repr(C)]pub struct TriggerData {
pub type_: NodeTag,
pub tg_event: TriggerEvent,
pub tg_relation: Relation,
pub tg_trigtuple: HeapTuple,
pub tg_newtuple: HeapTuple,
pub tg_trigger: *mut Trigger,
pub tg_trigslot: *mut TupleTableSlot,
pub tg_newslot: *mut TupleTableSlot,
pub tg_oldtable: *mut Tuplestorestate,
pub tg_newtable: *mut Tuplestorestate,
pub tg_updatedcols: *const Bitmapset,
}
Fields
type_: NodeTag
tg_event: TriggerEvent
tg_relation: Relation
tg_trigtuple: HeapTuple
tg_newtuple: HeapTuple
tg_trigger: *mut Trigger
tg_trigslot: *mut TupleTableSlot
tg_newslot: *mut TupleTableSlot
tg_oldtable: *mut Tuplestorestate
tg_newtable: *mut Tuplestorestate
tg_updatedcols: *const Bitmapset
Trait Implementations
sourceimpl Clone for TriggerData
impl Clone for TriggerData
sourcefn clone(&self) -> TriggerData
fn clone(&self) -> TriggerData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TriggerData
impl Debug for TriggerData
sourceimpl Default for TriggerData
impl Default for TriggerData
sourceimpl Display for TriggerData
impl Display for TriggerData
sourceimpl PgNode for TriggerData
impl PgNode for TriggerData
type NodeType = TriggerData
sourcefn as_node_ptr(&self) -> *mut Self::NodeType
fn as_node_ptr(&self) -> *mut Self::NodeType
Represent this node as a mutable pointer of its type
impl Copy for TriggerData
Auto Trait Implementations
impl RefUnwindSafe for TriggerData
impl !Send for TriggerData
impl !Sync for TriggerData
impl Unpin for TriggerData
impl UnwindSafe for TriggerData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more