pub struct SQLCreateTrigger { /* private fields */ }
Expand description
Representation of a trigger.
Implementations§
Source§impl SQLCreateTrigger
impl SQLCreateTrigger
Sourcepub fn if_not_exists(self) -> SQLCreateTrigger
pub fn if_not_exists(self) -> SQLCreateTrigger
Create the trigger only, if it does not exists
Sourcepub fn add_statement(self, statement: String) -> SQLCreateTrigger
pub fn add_statement(self, statement: String) -> SQLCreateTrigger
Adds a statement to a create trigger operation
Sourcepub fn for_each_row(self) -> SQLCreateTrigger
pub fn for_each_row(self) -> SQLCreateTrigger
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more