pub struct ColumnPair {
pub local: ColumnName,
pub related: ColumnName,
}Expand description
One extra equality on a relation hop: local is a column of the table
before the hop (the parent row), related a column of the hop’s table.
SQL equality, so a null on either side matches nothing.
Fields§
§local: ColumnNameThe column on the table before the hop.
The column on the hop’s own table.
Trait Implementations§
Source§impl Clone for ColumnPair
impl Clone for ColumnPair
Source§impl Debug for ColumnPair
impl Debug for ColumnPair
Source§impl<'de> Deserialize<'de> for ColumnPair
impl<'de> Deserialize<'de> for ColumnPair
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 ColumnPair
Source§impl Hash for ColumnPair
impl Hash for ColumnPair
Source§impl PartialEq for ColumnPair
impl PartialEq for ColumnPair
Source§impl Serialize for ColumnPair
impl Serialize for ColumnPair
impl StructuralPartialEq for ColumnPair
Auto Trait Implementations§
impl Forget for ColumnPair
impl Freeze for ColumnPair
impl Move for ColumnPair
impl RefUnwindSafe for ColumnPair
impl Send for ColumnPair
impl Sync for ColumnPair
impl Unpin for ColumnPair
impl UnsafeUnpin for ColumnPair
impl UnwindSafe for ColumnPair
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.