pub struct NamedColumnConstraint<'bump> {
pub name: Option<Name<'bump>>,
pub constraint: ColumnConstraint<'bump>,
}Expand description
Named column constraint
Fields§
§name: Option<Name<'bump>>constraint name
constraint: ColumnConstraint<'bump>constraint
Trait Implementations§
Source§impl<'bump> Debug for NamedColumnConstraint<'bump>
impl<'bump> Debug for NamedColumnConstraint<'bump>
impl<'bump> Eq for NamedColumnConstraint<'bump>
Source§impl<'bump> PartialEq for NamedColumnConstraint<'bump>
impl<'bump> PartialEq for NamedColumnConstraint<'bump>
Source§fn eq(&self, other: &NamedColumnConstraint<'bump>) -> bool
fn eq(&self, other: &NamedColumnConstraint<'bump>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'bump> StructuralPartialEq for NamedColumnConstraint<'bump>
Auto Trait Implementations§
impl<'bump> !RefUnwindSafe for NamedColumnConstraint<'bump>
impl<'bump> !Send for NamedColumnConstraint<'bump>
impl<'bump> !Sync for NamedColumnConstraint<'bump>
impl<'bump> !UnwindSafe for NamedColumnConstraint<'bump>
impl<'bump> Freeze for NamedColumnConstraint<'bump>
impl<'bump> Unpin for NamedColumnConstraint<'bump>
impl<'bump> UnsafeUnpin for NamedColumnConstraint<'bump>
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.