pub struct TriggerEffect {
pub table: String,
pub fields: Vec<TriggerFieldMapping>,
}Expand description
The write a trigger performs after its event commits: a document assembled by fields from
old/new, then put into table (which may be the trigger’s own source table or another
one) — always inside the same unit of work as the write that fired it.
Fields§
§table: String§fields: Vec<TriggerFieldMapping>Trait Implementations§
Source§impl Clone for TriggerEffect
impl Clone for TriggerEffect
Source§impl Debug for TriggerEffect
impl Debug for TriggerEffect
Source§impl PartialEq for TriggerEffect
impl PartialEq for TriggerEffect
impl StructuralPartialEq for TriggerEffect
Auto Trait Implementations§
impl Freeze for TriggerEffect
impl RefUnwindSafe for TriggerEffect
impl Send for TriggerEffect
impl Sync for TriggerEffect
impl Unpin for TriggerEffect
impl UnsafeUnpin for TriggerEffect
impl UnwindSafe for TriggerEffect
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