pub struct ColumnWrite {
pub reference: ColumnReference,
pub resolution: ResolutionKind,
}Expand description
One write-side occurrence of a ColumnReference — a written column —
pairing the identity with how the resolver resolved it against the target
(ResolutionKind). The write-role counterpart of ColumnRead, kept a
distinct type so a read can’t be passed where a write is meant.
resolution is the column’s catalog match against its (always pinned) write
target: Cataloged when the column is in the
target’s catalog column list, else Inferred
(catalog-free, the target’s columns aren’t known, the column isn’t listed,
or a freshly created / altered relation). A written column’s owning table is
always pinned and the column is named, so
Unresolved /
Ambiguous never arise — mirroring how a base
column read resolves against its relation’s column list.
Fields§
§reference: ColumnReference§resolution: ResolutionKindTrait Implementations§
Source§impl Clone for ColumnWrite
impl Clone for ColumnWrite
Source§fn clone(&self) -> ColumnWrite
fn clone(&self) -> ColumnWrite
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 moreSource§impl Debug for ColumnWrite
impl Debug for ColumnWrite
impl Eq for ColumnWrite
Source§impl Hash for ColumnWrite
impl Hash for ColumnWrite
Source§impl PartialEq for ColumnWrite
impl PartialEq for ColumnWrite
Source§fn eq(&self, other: &ColumnWrite) -> bool
fn eq(&self, other: &ColumnWrite) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ColumnWrite
Auto Trait Implementations§
impl Freeze for ColumnWrite
impl RefUnwindSafe for ColumnWrite
impl Send for ColumnWrite
impl Sync for ColumnWrite
impl Unpin for ColumnWrite
impl UnsafeUnpin for ColumnWrite
impl UnwindSafe for ColumnWrite
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