#[repr(i32)]pub enum TriggerType {
Row = 1,
Before = 2,
Insert = 4,
Delete = 8,
Update = 16,
Truncate = 32,
Instead = 64,
}
Variants§
Implementations§
Source§impl TriggerType
impl TriggerType
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§impl PartialOrd for TriggerType
impl PartialOrd for TriggerType
Source§impl TryFrom<i32> for TriggerType
impl TryFrom<i32> for TriggerType
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<TriggerType, UnknownEnumValue>
fn try_from(value: i32) -> Result<TriggerType, UnknownEnumValue>
Performs the conversion.
impl Copy for TriggerType
impl Eq for TriggerType
impl StructuralPartialEq for TriggerType
Auto Trait Implementations§
impl Freeze for TriggerType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more