pub enum ConstraintInput {
Unique {
name: String,
columns: Vec<String>,
},
Check {
name: String,
expression: String,
},
}Expand description
Authored constraint definition limited to modeled constraint variants.
Variants§
Trait Implementations§
Source§impl Clone for ConstraintInput
impl Clone for ConstraintInput
Source§fn clone(&self) -> ConstraintInput
fn clone(&self) -> ConstraintInput
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 ConstraintInput
impl Debug for ConstraintInput
Source§impl<'de> Deserialize<'de> for ConstraintInput
impl<'de> Deserialize<'de> for ConstraintInput
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
Source§impl PartialEq for ConstraintInput
impl PartialEq for ConstraintInput
impl StructuralPartialEq for ConstraintInput
Auto Trait Implementations§
impl Freeze for ConstraintInput
impl RefUnwindSafe for ConstraintInput
impl Send for ConstraintInput
impl Sync for ConstraintInput
impl Unpin for ConstraintInput
impl UnsafeUnpin for ConstraintInput
impl UnwindSafe for ConstraintInput
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