pub struct SQLCreateTrigger { /* private fields */ }
Expand description
Representation of a trigger.
Implementations§
Source§impl SQLCreateTrigger
impl SQLCreateTrigger
Sourcepub fn if_not_exists(self) -> Self
pub fn if_not_exists(self) -> Self
Create the trigger only, if it does not exists
Sourcepub fn add_statement(self, statement: String) -> Self
pub fn add_statement(self, statement: String) -> Self
Adds a statement to a create trigger operation
Sourcepub fn for_each_row(self) -> Self
pub fn for_each_row(self) -> Self
Executes the given trigger statement for each row individually.
Auto Trait Implementations§
impl Freeze for SQLCreateTrigger
impl RefUnwindSafe for SQLCreateTrigger
impl Send for SQLCreateTrigger
impl Sync for SQLCreateTrigger
impl Unpin for SQLCreateTrigger
impl UnwindSafe for SQLCreateTrigger
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