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