pub struct CreateTriggerStmt {
pub name: String,
pub timing: TriggerTiming,
pub events: Vec<TriggerEvent>,
pub target: String,
pub granularity: TriggerGranularity,
pub referencing: Option<TransitionTables>,
pub when_sql: Option<String>,
pub when_expr: Option<Expr>,
pub body_sql: String,
pub body: Vec<Statement>,
pub if_not_exists: bool,
}Fields§
§name: String§timing: TriggerTiming§events: Vec<TriggerEvent>§target: String§granularity: TriggerGranularity§referencing: Option<TransitionTables>§when_sql: Option<String>§when_expr: Option<Expr>§body_sql: String§body: Vec<Statement>§if_not_exists: boolTrait Implementations§
Source§impl Clone for CreateTriggerStmt
impl Clone for CreateTriggerStmt
Source§fn clone(&self) -> CreateTriggerStmt
fn clone(&self) -> CreateTriggerStmt
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 moreAuto Trait Implementations§
impl Freeze for CreateTriggerStmt
impl RefUnwindSafe for CreateTriggerStmt
impl Send for CreateTriggerStmt
impl Sync for CreateTriggerStmt
impl Unpin for CreateTriggerStmt
impl UnsafeUnpin for CreateTriggerStmt
impl UnwindSafe for CreateTriggerStmt
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