pub struct TriggerEntry {
pub name: String,
pub table: String,
pub event: TriggerEvent,
pub effect: TriggerEffect,
}Expand description
A declarative AFTER trigger: fires once event commits on table, atomically appending
effect in the same unit of work as that write. v1 is AFTER-only and unconditional.
Fields§
§name: String§table: String§event: TriggerEvent§effect: TriggerEffectTrait Implementations§
Source§impl Clone for TriggerEntry
impl Clone for TriggerEntry
Source§impl Debug for TriggerEntry
impl Debug for TriggerEntry
Source§impl PartialEq for TriggerEntry
impl PartialEq for TriggerEntry
impl StructuralPartialEq for TriggerEntry
Auto Trait Implementations§
impl Freeze for TriggerEntry
impl RefUnwindSafe for TriggerEntry
impl Send for TriggerEntry
impl Sync for TriggerEntry
impl Unpin for TriggerEntry
impl UnsafeUnpin for TriggerEntry
impl UnwindSafe for TriggerEntry
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