pub enum Rule {
ForeignKey(ForeignKey),
Check(String),
DeletedCircle(Slot),
OtherAudience,
Unique(UniqueConstraint),
}Expand description
A rule recorded for a removed row. Every rule that holds at the end is included; unique/other-audience rules retain the once-judged decision.
Variants§
ForeignKey(ForeignKey)
The named foreign key is stale or its parent is absent/removed.
Check(String)
The named CHECK fails on merged values.
DeletedCircle(Slot)
The kept entry deleting the row’s circle.
OtherAudience
The same key won in another audience.
Unique(UniqueConstraint)
The named unique constraint lost its value to an earlier claim.
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl PartialOrd for Rule
impl PartialOrd for Rule
impl Eq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnsafeUnpin for Rule
impl UnwindSafe for Rule
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more