pub struct CheckConstraintDef { /* private fields */ }Implementations§
Source§impl CheckConstraintDef
impl CheckConstraintDef
pub fn new(expression: impl Into<String>) -> Self
pub fn named(self, name: impl Into<String>) -> Self
pub fn validated(self, validated: bool) -> Self
pub fn not_validated(self) -> Self
pub fn no_inherit(self) -> Self
pub fn name(&self) -> Option<&str>
pub fn expression(&self) -> &str
pub fn is_validated(&self) -> bool
pub fn is_no_inherit(&self) -> bool
Trait Implementations§
Source§impl Clone for CheckConstraintDef
impl Clone for CheckConstraintDef
Source§impl Debug for CheckConstraintDef
impl Debug for CheckConstraintDef
impl Eq for CheckConstraintDef
Source§impl PartialEq for CheckConstraintDef
impl PartialEq for CheckConstraintDef
impl StructuralPartialEq for CheckConstraintDef
Auto Trait Implementations§
impl Freeze for CheckConstraintDef
impl RefUnwindSafe for CheckConstraintDef
impl Send for CheckConstraintDef
impl Sync for CheckConstraintDef
impl Unpin for CheckConstraintDef
impl UnsafeUnpin for CheckConstraintDef
impl UnwindSafe for CheckConstraintDef
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