pub enum SqlTypeFamily {
String,
Integer,
Decimal {
scale: i8,
},
Date32,
Binary,
}Expand description
Reduced set of SQL type families that matter for literal conversion and row-shaping utilities.
Variants§
String
Any textual or JSON-like value that should be treated as a string literal.
Integer
Exact numeric values that fit into the integer pipeline (signed or unsigned).
Decimal
DECIMAL/NUMERIC values along with their declared scale.
Date32
Logical DATE / DATE32 columns.
Binary
Opaque binary payloads that must not be re-encoded as UTF-8.
Trait Implementations§
Source§impl Clone for SqlTypeFamily
impl Clone for SqlTypeFamily
Source§fn clone(&self) -> SqlTypeFamily
fn clone(&self) -> SqlTypeFamily
Returns a duplicate of the value. Read more
1.0.0 · 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 SqlTypeFamily
impl Debug for SqlTypeFamily
Source§impl PartialEq for SqlTypeFamily
impl PartialEq for SqlTypeFamily
impl Copy for SqlTypeFamily
impl Eq for SqlTypeFamily
impl StructuralPartialEq for SqlTypeFamily
Auto Trait Implementations§
impl Freeze for SqlTypeFamily
impl RefUnwindSafe for SqlTypeFamily
impl Send for SqlTypeFamily
impl Sync for SqlTypeFamily
impl Unpin for SqlTypeFamily
impl UnwindSafe for SqlTypeFamily
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
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more