pub enum TriggerTiming {
Before,
After,
InsteadOf,
}Variants§
Before
Fires before the row is written; the trigger function’s return value (NEW or NULL) decides the row content and whether the write proceeds at all.
After
Fires after the row is written; the return value is ignored.
InsteadOf
INSTEAD OF is PG-VIEW-trigger-only and out of scope for
v7.12.4 (SPG has no updatable-view surface).
Trait Implementations§
Source§impl Clone for TriggerTiming
impl Clone for TriggerTiming
Source§fn clone(&self) -> TriggerTiming
fn clone(&self) -> TriggerTiming
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TriggerTiming
Source§impl Debug for TriggerTiming
impl Debug for TriggerTiming
impl Eq for TriggerTiming
Source§impl PartialEq for TriggerTiming
impl PartialEq for TriggerTiming
Source§fn eq(&self, other: &TriggerTiming) -> bool
fn eq(&self, other: &TriggerTiming) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TriggerTiming
Auto Trait Implementations§
impl Freeze for TriggerTiming
impl RefUnwindSafe for TriggerTiming
impl Send for TriggerTiming
impl Sync for TriggerTiming
impl Unpin for TriggerTiming
impl UnsafeUnpin for TriggerTiming
impl UnwindSafe for TriggerTiming
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