pub struct AddTableConstraint<'a> {
pub add_span: Span,
pub constraint: Option<(Span, Option<Identifier<'a>>)>,
pub constraint_type: TableConstraintType<'a>,
pub not_valid: Option<Span>,
}Expand description
PostgreSQL: ADD CONSTRAINT … UNIQUE/PRIMARY KEY/CHECK
Fields§
§add_span: Span§constraint: Option<(Span, Option<Identifier<'a>>)>§constraint_type: TableConstraintType<'a>§not_valid: Option<Span>Trait Implementations§
Source§impl<'a> Clone for AddTableConstraint<'a>
impl<'a> Clone for AddTableConstraint<'a>
Source§fn clone(&self) -> AddTableConstraint<'a>
fn clone(&self) -> AddTableConstraint<'a>
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<'a> Debug for AddTableConstraint<'a>
impl<'a> Debug for AddTableConstraint<'a>
Auto Trait Implementations§
impl<'a> Freeze for AddTableConstraint<'a>
impl<'a> RefUnwindSafe for AddTableConstraint<'a>
impl<'a> Send for AddTableConstraint<'a>
impl<'a> Sync for AddTableConstraint<'a>
impl<'a> Unpin for AddTableConstraint<'a>
impl<'a> UnsafeUnpin for AddTableConstraint<'a>
impl<'a> UnwindSafe for AddTableConstraint<'a>
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