pub enum WrappedTypeKind {
Nullable,
LowCardinality,
}Expand description
The parametric wrapper keyword of a DataType::Wrapped type combinator.
Each variant is a distinct ClickHouse type combinator that shares the
single-inner-type wrapper shape; recognition of each is gated on its own
TypeNameSyntax flag (one behaviour = one flag),
so a preset opts into each keyword independently rather than through one bundled
gate. The canonical render emits ClickHouse’s mixed-case spelling (Nullable).
Variants§
Nullable
Nullable(T) — the inner type extended with a NULL value.
LowCardinality
LowCardinality(T) — a dictionary-encoding wrapper over the inner type,
transparent to query semantics (ClickHouse constrains which T at type
resolution; the grammar accepts any single inner type).
Trait Implementations§
Source§impl Clone for WrappedTypeKind
impl Clone for WrappedTypeKind
Source§fn clone(&self) -> WrappedTypeKind
fn clone(&self) -> WrappedTypeKind
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 WrappedTypeKind
Source§impl Debug for WrappedTypeKind
impl Debug for WrappedTypeKind
Source§impl<'de> Deserialize<'de> for WrappedTypeKind
impl<'de> Deserialize<'de> for WrappedTypeKind
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 WrappedTypeKind
Source§impl Hash for WrappedTypeKind
impl Hash for WrappedTypeKind
Source§impl PartialEq for WrappedTypeKind
impl PartialEq for WrappedTypeKind
Source§impl Serialize for WrappedTypeKind
impl Serialize for WrappedTypeKind
impl StructuralPartialEq for WrappedTypeKind
Auto Trait Implementations§
impl Freeze for WrappedTypeKind
impl RefUnwindSafe for WrappedTypeKind
impl Send for WrappedTypeKind
impl Sync for WrappedTypeKind
impl Unpin for WrappedTypeKind
impl UnsafeUnpin for WrappedTypeKind
impl UnwindSafe for WrappedTypeKind
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