pub enum DecodedColumn {
Show 14 variants
I64(Vec<i64>),
U64(Vec<u64>),
F64(Vec<f64>),
Bool(Vec<bool>),
String(Vec<String>),
Decimal(Vec<i128>),
Bytes(Vec<Vec<u8>>),
NullableI64(Vec<Option<i64>>),
NullableU64(Vec<Option<u64>>),
NullableF64(Vec<Option<f64>>),
NullableBool(Vec<Option<bool>>),
NullableString(Vec<Option<String>>),
NullableDecimal(Vec<Option<i128>>),
NullableBytes(Vec<Option<Vec<u8>>>),
}Expand description
Typed column values returned by ColumnDecoder.
Each variant wraps a Vec of the corresponding Rust type. Nullable
variants use Option<T> where None represents a null value.
Has a custom PartialEq implementation that uses bitwise comparison
for f64 values so that NaN == NaN holds.
Variants§
I64(Vec<i64>)
Signed 64-bit integers (timestamps or i64 fields).
U64(Vec<u64>)
Unsigned 64-bit integers.
F64(Vec<f64>)
64-bit floating point values.
Bool(Vec<bool>)
Boolean values.
String(Vec<String>)
UTF-8 string values.
Decimal(Vec<i128>)
Exact decimal mantissas — mantissa × 10⁻ˢᶜᵃˡᵉ, with the scale held
by the column rather than by each value.
Bytes(Vec<Vec<u8>>)
Opaque byte strings — a composite value’s own encoding, carried whole.
NullableI64(Vec<Option<i64>>)
Nullable signed 64-bit integers.
NullableU64(Vec<Option<u64>>)
Nullable unsigned 64-bit integers.
NullableF64(Vec<Option<f64>>)
Nullable 64-bit floating point values.
NullableBool(Vec<Option<bool>>)
Nullable boolean values.
NullableString(Vec<Option<String>>)
Nullable UTF-8 string values.
NullableDecimal(Vec<Option<i128>>)
Nullable decimal mantissas.
NullableBytes(Vec<Option<Vec<u8>>>)
Nullable byte strings.
Implementations§
Trait Implementations§
Source§impl Clone for DecodedColumn
impl Clone for DecodedColumn
Source§fn clone(&self) -> DecodedColumn
fn clone(&self) -> DecodedColumn
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more