pub struct NewTrigger {Show 15 fields
pub name: String,
pub relation: u32,
pub function: u32,
pub kind: i16,
pub args: Vec<String>,
pub columns: Vec<i16>,
pub old_table: Option<String>,
pub new_table: Option<String>,
pub qual: Option<String>,
pub constraint: bool,
pub constraint_relation: u32,
pub deferrable: bool,
pub deferred: bool,
pub parent: u32,
pub enabled: u8,
}Expand description
The facts of a new trigger for Catalog::create_trigger.
Fields§
§name: StringThe name.
relation: u32The OID of the relation.
function: u32The OID of the function.
kind: i16tgtype.
args: Vec<String>tgargs.
columns: Vec<i16>tgattr.
old_table: Option<String>tgoldtable.
new_table: Option<String>tgnewtable.
qual: Option<String>tgqual.
constraint: boolTrue for a trigger of CREATE CONSTRAINT TRIGGER, which gets a row of pg_constraint.
constraint_relation: u32tgconstrrelid: the table of FROM of a constraint trigger, else 0.
deferrable: booltgdeferrable.
deferred: booltginitdeferred.
parent: u32tgparentid: the trigger of the parent table for a clone in a partition, else 0.
enabled: u8tgenabled of a clone, which is the state of the trigger of the parent table, or 0 for O.
Trait Implementations§
Source§impl Clone for NewTrigger
impl Clone for NewTrigger
Source§impl Debug for NewTrigger
impl Debug for NewTrigger
Source§impl Default for NewTrigger
impl Default for NewTrigger
impl Eq for NewTrigger
Source§impl PartialEq for NewTrigger
impl PartialEq for NewTrigger
impl StructuralPartialEq for NewTrigger
Auto Trait Implementations§
impl Freeze for NewTrigger
impl RefUnwindSafe for NewTrigger
impl Send for NewTrigger
impl Sync for NewTrigger
impl Unpin for NewTrigger
impl UnsafeUnpin for NewTrigger
impl UnwindSafe for NewTrigger
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