pub struct CheckConstraintDefinition {
pub name: String,
pub expression: String,
}Expand description
Check constraint definition
Fields§
§name: String§expression: StringTrait Implementations§
Source§impl Clone for CheckConstraintDefinition
impl Clone for CheckConstraintDefinition
Source§fn clone(&self) -> CheckConstraintDefinition
fn clone(&self) -> CheckConstraintDefinition
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 CheckConstraintDefinition
impl Debug for CheckConstraintDefinition
Source§impl<'de> Deserialize<'de> for CheckConstraintDefinition
impl<'de> Deserialize<'de> for CheckConstraintDefinition
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 CheckConstraintDefinition
Source§impl PartialEq for CheckConstraintDefinition
impl PartialEq for CheckConstraintDefinition
Source§fn eq(&self, other: &CheckConstraintDefinition) -> bool
fn eq(&self, other: &CheckConstraintDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CheckConstraintDefinition
Auto Trait Implementations§
impl Freeze for CheckConstraintDefinition
impl RefUnwindSafe for CheckConstraintDefinition
impl Send for CheckConstraintDefinition
impl Sync for CheckConstraintDefinition
impl Unpin for CheckConstraintDefinition
impl UnsafeUnpin for CheckConstraintDefinition
impl UnwindSafe for CheckConstraintDefinition
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