pub struct PostgresTriggerGenerator { /* private fields */ }Implementations§
Source§impl PostgresTriggerGenerator
impl PostgresTriggerGenerator
pub fn new(context: GeneratorContext) -> Self
Trait Implementations§
Source§impl TriggerGenerator for PostgresTriggerGenerator
impl TriggerGenerator for PostgresTriggerGenerator
fn output_triggers(&self)
Source§fn output_triggers_for_table(&self, table: &Table)
fn output_triggers_for_table(&self, table: &Table)
Regenerates the full (idempotent) trigger set for a single table - used by the
migration generator when only that table’s custom triggers changed, so it doesn’t
have to re-derive the combined relation/aggregation/custom-trigger logic that
output_triggers already knows how to produce. No-op by default (SQLite has no
trigger support here, matching output_triggers).Auto Trait Implementations§
impl !RefUnwindSafe for PostgresTriggerGenerator
impl !Send for PostgresTriggerGenerator
impl !Sync for PostgresTriggerGenerator
impl !UnwindSafe for PostgresTriggerGenerator
impl Freeze for PostgresTriggerGenerator
impl Unpin for PostgresTriggerGenerator
impl UnsafeUnpin for PostgresTriggerGenerator
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