pub enum RemovalRule {
ForeignKey {
columns: Vec<String>,
parent: String,
parent_columns: Vec<String>,
},
Check {
constraint: String,
},
DeletedCircle {
entry: Slot,
},
OtherAudience,
Unique {
terms: Vec<String>,
partial: Option<String>,
},
}Expand description
A rule responsible for a removed row.
Variants§
ForeignKey
A reference to an absent, stale or removed parent.
Fields
Check
A failed CHECK.
DeletedCircle
The row belongs to a deleted circle.
OtherAudience
The same key is shown from another audience.
Unique
A competing row won the unique values.
Trait Implementations§
Source§impl Clone for RemovalRule
impl Clone for RemovalRule
Source§fn clone(&self) -> RemovalRule
fn clone(&self) -> RemovalRule
Returns a duplicate 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 RemovalRule
impl Debug for RemovalRule
Source§impl PartialEq for RemovalRule
impl PartialEq for RemovalRule
impl Eq for RemovalRule
impl StructuralPartialEq for RemovalRule
Auto Trait Implementations§
impl Freeze for RemovalRule
impl RefUnwindSafe for RemovalRule
impl Send for RemovalRule
impl Sync for RemovalRule
impl Unpin for RemovalRule
impl UnsafeUnpin for RemovalRule
impl UnwindSafe for RemovalRule
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
§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
Compare self to
key and return true if they are equal.