pub struct CheckConstraint {
pub name: String,
pub expression: String,
}Expand description
Check constraint information.
Fields§
§name: StringConstraint name.
expression: StringCheck expression.
Trait Implementations§
Source§impl Clone for CheckConstraint
impl Clone for CheckConstraint
Source§fn clone(&self) -> CheckConstraint
fn clone(&self) -> CheckConstraint
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 CheckConstraint
impl Debug for CheckConstraint
Source§impl Default for CheckConstraint
impl Default for CheckConstraint
Source§fn default() -> CheckConstraint
fn default() -> CheckConstraint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheckConstraint
impl<'de> Deserialize<'de> for CheckConstraint
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
Auto Trait Implementations§
impl Freeze for CheckConstraint
impl RefUnwindSafe for CheckConstraint
impl Send for CheckConstraint
impl Sync for CheckConstraint
impl Unpin for CheckConstraint
impl UnwindSafe for CheckConstraint
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