pub enum ConstraintFragmentKind {
Check(SourceCheckExpr),
TargetedRule(TargetedRuleFragment),
}Expand description
One source constraint kind.
Variants§
Check(SourceCheckExpr)
General row check over top-level source fields.
TargetedRule(TargetedRuleFragment)
Closed durable operation over one nominal target below a persisted root.
Trait Implementations§
Source§impl CandidType for ConstraintFragmentKind
impl CandidType for ConstraintFragmentKind
Source§impl Clone for ConstraintFragmentKind
impl Clone for ConstraintFragmentKind
Source§fn clone(&self) -> ConstraintFragmentKind
fn clone(&self) -> ConstraintFragmentKind
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 moreSource§impl Debug for ConstraintFragmentKind
impl Debug for ConstraintFragmentKind
Source§impl<'de> Deserialize<'de> for ConstraintFragmentKind
impl<'de> Deserialize<'de> for ConstraintFragmentKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConstraintFragmentKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConstraintFragmentKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ConstraintFragmentKind
Source§impl PartialEq for ConstraintFragmentKind
impl PartialEq for ConstraintFragmentKind
Source§impl Serialize for ConstraintFragmentKind
impl Serialize for ConstraintFragmentKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ConstraintFragmentKind
Auto Trait Implementations§
impl Freeze for ConstraintFragmentKind
impl RefUnwindSafe for ConstraintFragmentKind
impl Send for ConstraintFragmentKind
impl Sync for ConstraintFragmentKind
impl Unpin for ConstraintFragmentKind
impl UnsafeUnpin for ConstraintFragmentKind
impl UnwindSafe for ConstraintFragmentKind
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.