Enum pg_query::TriggerType
source · [−]#[repr(i32)]
pub enum TriggerType {
Row,
Before,
Insert,
Delete,
Update,
Truncate,
Instead,
}Variants
Row
Before
Insert
Delete
Update
Truncate
Instead
Implementations
Trait Implementations
sourceimpl Clone for TriggerType
impl Clone for TriggerType
sourcefn clone(&self) -> TriggerType
fn clone(&self) -> TriggerType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TriggerType
impl Debug for TriggerType
sourceimpl Default for TriggerType
impl Default for TriggerType
sourcefn default() -> TriggerType
fn default() -> TriggerType
Returns the “default value” for a type. Read more
sourceimpl From<TriggerType> for i32
impl From<TriggerType> for i32
sourcefn from(value: TriggerType) -> i32
fn from(value: TriggerType) -> i32
Converts to this type from the input type.
sourceimpl Hash for TriggerType
impl Hash for TriggerType
sourceimpl Ord for TriggerType
impl Ord for TriggerType
sourceimpl PartialEq<TriggerType> for TriggerType
impl PartialEq<TriggerType> for TriggerType
sourceimpl PartialOrd<TriggerType> for TriggerType
impl PartialOrd<TriggerType> for TriggerType
sourcefn partial_cmp(&self, other: &TriggerType) -> Option<Ordering>
fn partial_cmp(&self, other: &TriggerType) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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 more
impl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more