pub enum ForeignKeyEvent {
ChildInsert,
ChildUpdate,
ParentDelete,
ParentUpdate,
}Expand description
Which write a synthesised trigger is generated for.
Variants§
ChildInsert
A row is being added to the child table.
ChildUpdate
A row of the child table is being changed.
ParentDelete
A row is being taken out of the parent table.
ParentUpdate
A row of the parent table is being changed.
Trait Implementations§
Source§impl Clone for ForeignKeyEvent
impl Clone for ForeignKeyEvent
impl Copy for ForeignKeyEvent
Source§impl Debug for ForeignKeyEvent
impl Debug for ForeignKeyEvent
impl Eq for ForeignKeyEvent
Source§impl PartialEq for ForeignKeyEvent
impl PartialEq for ForeignKeyEvent
impl StructuralPartialEq for ForeignKeyEvent
Auto Trait Implementations§
impl Freeze for ForeignKeyEvent
impl RefUnwindSafe for ForeignKeyEvent
impl Send for ForeignKeyEvent
impl Sync for ForeignKeyEvent
impl Unpin for ForeignKeyEvent
impl UnsafeUnpin for ForeignKeyEvent
impl UnwindSafe for ForeignKeyEvent
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