pub enum ChangeKind {
DomainAdded,
DomainRemoved,
DomainCardinalityIncreased,
DomainCardinalityDecreased,
PredicateAdded,
PredicateRemoved,
PredicateArityChanged,
PredicateSignatureChanged,
VariableAdded,
VariableRemoved,
VariableTypeChanged,
}Expand description
Type of schema change
Variants§
DomainAdded
Domain added
DomainRemoved
Domain removed
DomainCardinalityIncreased
Domain cardinality increased
DomainCardinalityDecreased
Domain cardinality decreased
PredicateAdded
Predicate added
PredicateRemoved
Predicate removed
PredicateArityChanged
Predicate arity changed
PredicateSignatureChanged
Predicate signature changed
VariableAdded
Variable added
VariableRemoved
Variable removed
VariableTypeChanged
Variable type changed
Implementations§
Source§impl ChangeKind
impl ChangeKind
Sourcepub fn is_potentially_breaking(&self) -> bool
pub fn is_potentially_breaking(&self) -> bool
Check if this change is potentially breaking
Trait Implementations§
Source§impl Clone for ChangeKind
impl Clone for ChangeKind
Source§fn clone(&self) -> ChangeKind
fn clone(&self) -> ChangeKind
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 ChangeKind
impl Debug for ChangeKind
Source§impl PartialEq for ChangeKind
impl PartialEq for ChangeKind
impl Eq for ChangeKind
impl StructuralPartialEq for ChangeKind
Auto Trait Implementations§
impl Freeze for ChangeKind
impl RefUnwindSafe for ChangeKind
impl Send for ChangeKind
impl Sync for ChangeKind
impl Unpin for ChangeKind
impl UnwindSafe for ChangeKind
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.