Enum pg_query::TriggerType
source · #[repr(i32)]pub enum TriggerType {
Row = 1,
Before = 2,
Insert = 4,
Delete = 8,
Update = 16,
Truncate = 32,
Instead = 64,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for TriggerType
impl Clone for TriggerType
source§fn clone(&self) -> TriggerType
fn clone(&self) -> TriggerType
Returns a copy 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 TriggerType
impl Debug for TriggerType
source§impl Default for TriggerType
impl Default for TriggerType
source§fn default() -> TriggerType
fn default() -> TriggerType
Returns the “default value” for a type. Read more
source§impl From<TriggerType> for i32
impl From<TriggerType> for i32
source§fn from(value: TriggerType) -> i32
fn from(value: TriggerType) -> i32
Converts to this type from the input type.
source§impl Hash for TriggerType
impl Hash for TriggerType
source§impl Ord for TriggerType
impl Ord for TriggerType
source§fn cmp(&self, other: &TriggerType) -> Ordering
fn cmp(&self, other: &TriggerType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for TriggerType
impl PartialEq for TriggerType
source§fn eq(&self, other: &TriggerType) -> bool
fn eq(&self, other: &TriggerType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TriggerType
impl PartialOrd for TriggerType
source§fn partial_cmp(&self, other: &TriggerType) -> Option<Ordering>
fn partial_cmp(&self, other: &TriggerType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for TriggerType
impl Eq for TriggerType
impl StructuralEq for TriggerType
impl StructuralPartialEq for TriggerType
Auto Trait Implementations§
impl RefUnwindSafe for TriggerType
impl Send for TriggerType
impl Sync for TriggerType
impl Unpin for TriggerType
impl UnwindSafe for TriggerType
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