pub struct ForeignKeyCheck { /* private fields */ }Expand description
A foreign key check or referential action queued with the AFTER ROW triggers of a written row.
Implementations§
Source§impl ForeignKeyCheck
impl ForeignKeyCheck
Sourcepub fn precedes_trigger(&self, name: &str) -> bool
pub fn precedes_trigger(&self, name: &str) -> bool
Whether the check runs before the user trigger name of the same row. A row’s AFTER triggers fire in the order of their names, and an internal trigger’s name is its prefix followed by its object identifier, so it precedes every name that sorts after the prefix; a user trigger whose name begins with the prefix itself follows it.
Trait Implementations§
Source§impl Clone for ForeignKeyCheck
impl Clone for ForeignKeyCheck
Auto Trait Implementations§
impl Freeze for ForeignKeyCheck
impl RefUnwindSafe for ForeignKeyCheck
impl Send for ForeignKeyCheck
impl Sync for ForeignKeyCheck
impl Unpin for ForeignKeyCheck
impl UnsafeUnpin for ForeignKeyCheck
impl UnwindSafe for ForeignKeyCheck
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
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