pub enum ConstraintDiagnosticKind {
Check,
NotNull,
Relation,
TargetedRule,
Unique,
}Expand description
ConstraintDiagnosticKind
Accepted constraint family attached to one bounded runtime diagnostic. Accepted schema owns the identity; this enum is its error-boundary projection.
Variants§
Check
One accepted canonical check expression.
NotNull
One accepted or activating not-null field contract.
Relation
One accepted or activating relation contract.
TargetedRule
One accepted durable rule over a nominal value below a persisted root.
Unique
One accepted or activating unique-index contract.
Implementations§
Trait Implementations§
Source§impl Clone for ConstraintDiagnosticKind
impl Clone for ConstraintDiagnosticKind
Source§fn clone(&self) -> ConstraintDiagnosticKind
fn clone(&self) -> ConstraintDiagnosticKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConstraintDiagnosticKind
Source§impl Debug for ConstraintDiagnosticKind
impl Debug for ConstraintDiagnosticKind
Source§impl<'de> Deserialize<'de> for ConstraintDiagnosticKind
impl<'de> Deserialize<'de> for ConstraintDiagnosticKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ConstraintDiagnosticKind
Source§impl PartialEq for ConstraintDiagnosticKind
impl PartialEq for ConstraintDiagnosticKind
impl StructuralPartialEq for ConstraintDiagnosticKind
Auto Trait Implementations§
impl Freeze for ConstraintDiagnosticKind
impl RefUnwindSafe for ConstraintDiagnosticKind
impl Send for ConstraintDiagnosticKind
impl Sync for ConstraintDiagnosticKind
impl Unpin for ConstraintDiagnosticKind
impl UnsafeUnpin for ConstraintDiagnosticKind
impl UnwindSafe for ConstraintDiagnosticKind
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