pub struct ColumnOverride {
pub name: String,
pub rivet_type: RivetType,
}Expand description
A user-supplied YAML override (exports[].columns: in rivet.yaml,
roadmap §8) carries one of these per column. Stored separately from
SourceColumn so it’s obvious in code review whether a particular
type came from autodetect or from an explicit override.
Wired into the planning pipeline by Chunk 6.
Fields§
§name: StringName of the column the override applies to (case-sensitive — matches what the source driver returns; mismatch is rejected at config-load).
rivet_type: RivetTypeThe user-declared type. Replaces whatever autodetect produced.
Trait Implementations§
Source§impl Clone for ColumnOverride
impl Clone for ColumnOverride
Source§fn clone(&self) -> ColumnOverride
fn clone(&self) -> ColumnOverride
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 ColumnOverride
impl Debug for ColumnOverride
impl Eq for ColumnOverride
Source§impl PartialEq for ColumnOverride
impl PartialEq for ColumnOverride
Source§fn eq(&self, other: &ColumnOverride) -> bool
fn eq(&self, other: &ColumnOverride) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ColumnOverride
impl Serialize for ColumnOverride
impl StructuralPartialEq for ColumnOverride
Auto Trait Implementations§
impl Freeze for ColumnOverride
impl RefUnwindSafe for ColumnOverride
impl Send for ColumnOverride
impl Sync for ColumnOverride
impl Unpin for ColumnOverride
impl UnsafeUnpin for ColumnOverride
impl UnwindSafe for ColumnOverride
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.