pub struct TriggerDef {
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 body_sql: String,
pub enabled: bool,
pub created_at_micros: i64,
}Fields§
§name: String§timing: TriggerTiming§events: Vec<TriggerEvent>§target: String§granularity: TriggerGranularity§referencing: Option<TransitionTables>§when_sql: Option<String>§body_sql: String§enabled: bool§created_at_micros: i64Implementations§
Trait Implementations§
Source§impl Clone for TriggerDef
impl Clone for TriggerDef
Source§fn clone(&self) -> TriggerDef
fn clone(&self) -> TriggerDef
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 TriggerDef
impl RefUnwindSafe for TriggerDef
impl Send for TriggerDef
impl Sync for TriggerDef
impl Unpin for TriggerDef
impl UnsafeUnpin for TriggerDef
impl UnwindSafe for TriggerDef
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