pub struct PgEventTrigger {
pub evtname: Str,
pub evtevent: Str,
pub evtowner: Str,
pub evtfoid: Str,
pub evtenabled: PgEventTriggerEvtenabled,
pub evttags: Option<Vec<Str>>,
pub description: Option<Str>,
pub seclabel: Option<Str>,
pub seclabel_provider: Option<Str>,
}Expand description
The DDL-only contents of pg_event_trigger
Fields§
§evtname: Strname Trigger name (must be unique)
evtevent: Strname Identifies the event for which this trigger fires
evtowner: Stroid (references pg_authid.oid) Owner of the event trigger
evtfoid: Stroid (references pg_proc.oid) The function to be called
evtenabled: PgEventTriggerEvtenabledchar Controls in which session_replication_role modes the event trigger fires. O = trigger fires in “origin” and “local” modes, D = trigger is disabled, R = trigger fires in “replica” mode, A = trigger fires always.
text[] Command tags for which this trigger will fire. If NULL, the firing of this trigger is not restricted on the basis of the command tag.
description: Option<Str>text The comment from pg_description
seclabel: Option<Str>text The seclabel from pg_seclabel
seclabel_provider: Option<Str>text The provider from pg_seclabel
Trait Implementations§
Source§impl Clone for PgEventTrigger
impl Clone for PgEventTrigger
Source§fn clone(&self) -> PgEventTrigger
fn clone(&self) -> PgEventTrigger
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 PgEventTrigger
impl Debug for PgEventTrigger
Source§impl<'de> Deserialize<'de> for PgEventTrigger
impl<'de> Deserialize<'de> for PgEventTrigger
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PgEventTrigger
impl PartialEq for PgEventTrigger
Source§impl Serialize for PgEventTrigger
impl Serialize for PgEventTrigger
impl Eq for PgEventTrigger
impl StructuralPartialEq for PgEventTrigger
Auto Trait Implementations§
impl Freeze for PgEventTrigger
impl RefUnwindSafe for PgEventTrigger
impl Send for PgEventTrigger
impl Sync for PgEventTrigger
impl Unpin for PgEventTrigger
impl UnsafeUnpin for PgEventTrigger
impl UnwindSafe for PgEventTrigger
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.