pub enum SchemaIssue {
UnusedDomain(String),
ZeroCardinalityDomain(String),
HighCardinalityDomain(String, usize),
HighArityPredicate(String, usize),
NoPredicates,
NoDomains,
}Expand description
Types of schema issues that can be detected.
Variants§
UnusedDomain(String)
Domain is never used in any predicate.
ZeroCardinalityDomain(String)
Domain has zero cardinality.
HighCardinalityDomain(String, usize)
Very high cardinality that might cause performance issues.
HighArityPredicate(String, usize)
Predicate with unusually high arity.
NoPredicates
No predicates defined.
NoDomains
No domains defined.
Implementations§
Source§impl SchemaIssue
impl SchemaIssue
Trait Implementations§
Source§impl Clone for SchemaIssue
impl Clone for SchemaIssue
Source§fn clone(&self) -> SchemaIssue
fn clone(&self) -> SchemaIssue
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 SchemaIssue
impl Debug for SchemaIssue
Source§impl PartialEq for SchemaIssue
impl PartialEq for SchemaIssue
impl Eq for SchemaIssue
impl StructuralPartialEq for SchemaIssue
Auto Trait Implementations§
impl Freeze for SchemaIssue
impl RefUnwindSafe for SchemaIssue
impl Send for SchemaIssue
impl Sync for SchemaIssue
impl Unpin for SchemaIssue
impl UnwindSafe for SchemaIssue
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.