pub enum TriggerSelector {
All,
Named(String),
}Expand description
v7.16.1 — target of ALTER TABLE … { ENABLE | DISABLE } TRIGGER …. PG also accepts USER, REPLICA, ALWAYS
modifiers; v7.16.1 ships the two shapes pg_dump actually
emits (ALL + per-name) — the rest parse-accept as Named
shouldn’t surface from a dump.
Variants§
Trait Implementations§
Source§impl Clone for TriggerSelector
impl Clone for TriggerSelector
Source§fn clone(&self) -> TriggerSelector
fn clone(&self) -> TriggerSelector
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 moreSource§impl Debug for TriggerSelector
impl Debug for TriggerSelector
impl Eq for TriggerSelector
Source§impl PartialEq for TriggerSelector
impl PartialEq for TriggerSelector
Source§fn eq(&self, other: &TriggerSelector) -> bool
fn eq(&self, other: &TriggerSelector) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TriggerSelector
Auto Trait Implementations§
impl Freeze for TriggerSelector
impl RefUnwindSafe for TriggerSelector
impl Send for TriggerSelector
impl Sync for TriggerSelector
impl Unpin for TriggerSelector
impl UnsafeUnpin for TriggerSelector
impl UnwindSafe for TriggerSelector
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