pub struct ConstraintRef {
pub name: Option<&'static str>,
pub name_explicit: bool,
pub kind: SQLConstraintKind,
pub columns: &'static [&'static str],
pub check_expression: Option<&'static str>,
pub deferrable: bool,
pub initially_deferred: bool,
}Expand description
Constraint reference as a const Copy struct.
Fields§
§name: Option<&'static str>§name_explicit: bool§kind: SQLConstraintKind§columns: &'static [&'static str]§check_expression: Option<&'static str>§deferrable: bool§initially_deferred: boolTrait Implementations§
Source§impl Clone for ConstraintRef
impl Clone for ConstraintRef
Source§fn clone(&self) -> ConstraintRef
fn clone(&self) -> ConstraintRef
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 moreimpl Copy for ConstraintRef
Source§impl Debug for ConstraintRef
impl Debug for ConstraintRef
impl Eq for ConstraintRef
Source§impl PartialEq for ConstraintRef
impl PartialEq for ConstraintRef
impl StructuralPartialEq for ConstraintRef
Auto Trait Implementations§
impl Freeze for ConstraintRef
impl RefUnwindSafe for ConstraintRef
impl Send for ConstraintRef
impl Sync for ConstraintRef
impl Unpin for ConstraintRef
impl UnsafeUnpin for ConstraintRef
impl UnwindSafe for ConstraintRef
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