pub struct DeferredEmbeddedStmt {
pub function: String,
pub stmt: Statement,
}Expand description
v7.12.7 — embedded SQL statement collected during a trigger
fire, queued for execution after the firing DML completes.
NEW / OLD / DECLARE-local references inside the statement’s
Expr tree have already been substituted with literals; the
engine just feeds it to execute_stmt_with_cancel.
Fields§
§function: StringTrigger function the embedded SQL came from. Used to label recursion errors precisely.
stmt: StatementSubstituted statement, ready to execute.
Trait Implementations§
Source§impl Clone for DeferredEmbeddedStmt
impl Clone for DeferredEmbeddedStmt
Source§fn clone(&self) -> DeferredEmbeddedStmt
fn clone(&self) -> DeferredEmbeddedStmt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeferredEmbeddedStmt
impl Debug for DeferredEmbeddedStmt
Source§impl PartialEq for DeferredEmbeddedStmt
impl PartialEq for DeferredEmbeddedStmt
Source§fn eq(&self, other: &DeferredEmbeddedStmt) -> bool
fn eq(&self, other: &DeferredEmbeddedStmt) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeferredEmbeddedStmt
Auto Trait Implementations§
impl Freeze for DeferredEmbeddedStmt
impl RefUnwindSafe for DeferredEmbeddedStmt
impl Send for DeferredEmbeddedStmt
impl Sync for DeferredEmbeddedStmt
impl Unpin for DeferredEmbeddedStmt
impl UnsafeUnpin for DeferredEmbeddedStmt
impl UnwindSafe for DeferredEmbeddedStmt
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