pub struct ConstraintColumns(pub Vec<String>);Expand description
A foreign key’s columns in declaration order (Appendix B.5).
Tuple Fields§
§0: Vec<String>Ordered column names, retaining composite-constraint boundaries.
Trait Implementations§
Source§impl Clone for ConstraintColumns
impl Clone for ConstraintColumns
Source§fn clone(&self) -> ConstraintColumns
fn clone(&self) -> ConstraintColumns
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 Debug for ConstraintColumns
impl Debug for ConstraintColumns
Source§impl Hash for ConstraintColumns
impl Hash for ConstraintColumns
Source§impl Ord for ConstraintColumns
impl Ord for ConstraintColumns
Source§fn cmp(&self, other: &ConstraintColumns) -> Ordering
fn cmp(&self, other: &ConstraintColumns) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ConstraintColumns
impl PartialEq for ConstraintColumns
Source§impl PartialOrd for ConstraintColumns
impl PartialOrd for ConstraintColumns
impl Eq for ConstraintColumns
impl StructuralPartialEq for ConstraintColumns
Auto Trait Implementations§
impl Freeze for ConstraintColumns
impl RefUnwindSafe for ConstraintColumns
impl Send for ConstraintColumns
impl Sync for ConstraintColumns
impl Unpin for ConstraintColumns
impl UnsafeUnpin for ConstraintColumns
impl UnwindSafe for ConstraintColumns
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more