pub struct TableWrite {
pub reference: TableReference,
pub resolution: ResolutionKind,
}Expand description
One write-side occurrence of a TableReference — a DML / DDL write
target — pairing the identity with how the catalog matched it
(ResolutionKind).
The write-role counterpart of TableRead, kept a distinct type so a
read can’t be passed where a write is meant (and so the write side can
diverge later). The resolution carries the same catalog-match outcome a
scanned source would: Cataloged for a unique
registered hit, Ambiguous for several, and
Inferred for a catalog miss or catalog-less
mode — so the Cataloged-detects-catalog-aware
invariant holds on writes too. reference is always present (a target’s
name is written out), so Unresolved never
arises here, exactly as for TableRead.
Fields§
§reference: TableReference§resolution: ResolutionKindTrait Implementations§
Source§impl Clone for TableWrite
impl Clone for TableWrite
Source§fn clone(&self) -> TableWrite
fn clone(&self) -> TableWrite
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 TableWrite
impl Debug for TableWrite
impl Eq for TableWrite
Source§impl Hash for TableWrite
impl Hash for TableWrite
Source§impl PartialEq for TableWrite
impl PartialEq for TableWrite
Source§fn eq(&self, other: &TableWrite) -> bool
fn eq(&self, other: &TableWrite) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TableWrite
Auto Trait Implementations§
impl Freeze for TableWrite
impl RefUnwindSafe for TableWrite
impl Send for TableWrite
impl Sync for TableWrite
impl Unpin for TableWrite
impl UnsafeUnpin for TableWrite
impl UnwindSafe for TableWrite
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