pub struct ColumnBinding {
pub table: u32,
pub column: u32,
}Expand description
Which column, by identity rather than by name.
The binder gives every operator that introduces columns a table index, and a column is that
index plus a position. Two columns called id from two sides of a join are two bindings and
there is no ambiguity to resolve, which is the entire reason the bound plan has no names in it.
Fields§
§table: u32The index of the operator that produces the column.
column: u32The position of the column in that operator’s output.
Implementations§
Trait Implementations§
Source§impl Clone for ColumnBinding
impl Clone for ColumnBinding
Source§fn clone(&self) -> ColumnBinding
fn clone(&self) -> ColumnBinding
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 ColumnBinding
Source§impl Debug for ColumnBinding
impl Debug for ColumnBinding
impl Eq for ColumnBinding
Source§impl Hash for ColumnBinding
impl Hash for ColumnBinding
Source§impl Ord for ColumnBinding
impl Ord for ColumnBinding
Source§fn cmp(&self, other: &ColumnBinding) -> Ordering
fn cmp(&self, other: &ColumnBinding) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ColumnBinding
impl PartialEq for ColumnBinding
Source§impl PartialOrd for ColumnBinding
impl PartialOrd for ColumnBinding
impl StructuralPartialEq for ColumnBinding
Auto Trait Implementations§
impl Freeze for ColumnBinding
impl RefUnwindSafe for ColumnBinding
impl Send for ColumnBinding
impl Sync for ColumnBinding
impl Unpin for ColumnBinding
impl UnsafeUnpin for ColumnBinding
impl UnwindSafe for ColumnBinding
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