pub struct TriggerDef {
pub schema: String,
pub table_name: String,
pub name: String,
pub definition: String,
}Expand description
Definition of a database trigger.
Fields§
§schema: StringSchema the trigger belongs to.
table_name: StringName of the table the trigger is attached to.
name: StringName of the trigger.
definition: StringAction statement executed by the trigger.
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 · 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 TriggerDef
impl Debug for TriggerDef
Source§impl PartialEq for TriggerDef
impl PartialEq for TriggerDef
Source§impl Serialize for TriggerDef
impl Serialize for TriggerDef
impl StructuralPartialEq for TriggerDef
Auto 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