pub enum TriggerTiming {
Before,
After,
InsteadOf,
}Expand description
When a trigger fires.
PHP: Utopia\Query\Schema\TriggerTiming.
Variants§
Implementations§
Source§impl TriggerTiming
impl TriggerTiming
Sourcepub const CASES: &'static [TriggerTiming]
pub const CASES: &'static [TriggerTiming]
Every case, in declaration order.
PHP: cases().
Sourcepub const PHP_CLASS: &'static str = "Utopia\\Query\\Schema\\TriggerTiming"
pub const PHP_CLASS: &'static str = "Utopia\\Query\\Schema\\TriggerTiming"
The PHP class of this enumeration.
Sourcepub fn try_from_value(value: &str) -> Option<Self>
pub fn try_from_value(value: &str) -> Option<Self>
The case with backing value value, if any.
PHP: tryFrom().
Sourcepub fn from_value(value: &str) -> Result<Self, Error>
pub fn from_value(value: &str) -> Result<Self, Error>
The case with backing value value.
PHP: from(), which throws ValueError (Error::InvalidValue) with the same message.
Trait Implementations§
Source§impl Clone for TriggerTiming
impl Clone for TriggerTiming
impl Copy for TriggerTiming
Source§impl Debug for TriggerTiming
impl Debug for TriggerTiming
Source§impl Display for TriggerTiming
impl Display for TriggerTiming
impl Eq for TriggerTiming
Source§impl Hash for TriggerTiming
impl Hash for TriggerTiming
Source§impl PartialEq for TriggerTiming
impl PartialEq for TriggerTiming
impl StructuralPartialEq for TriggerTiming
Auto Trait Implementations§
impl Forget for TriggerTiming
impl Freeze for TriggerTiming
impl Move for TriggerTiming
impl RefUnwindSafe for TriggerTiming
impl Send for TriggerTiming
impl Sync for TriggerTiming
impl Unpin for TriggerTiming
impl UnsafeUnpin for TriggerTiming
impl UnwindSafe for TriggerTiming
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§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.