Enum odbc_api::buffers::AnyColumnView [−][src]
pub enum AnyColumnView<'a> {
Show 25 variants
Text(TextColumnIt<'a, u8>),
WText(TextColumnIt<'a, u16>),
Binary(BinColumnIt<'a>),
Date(&'a [Date]),
Time(&'a [Time]),
Timestamp(&'a [Timestamp]),
F64(&'a [f64]),
F32(&'a [f32]),
I8(&'a [i8]),
I16(&'a [i16]),
I32(&'a [i32]),
I64(&'a [i64]),
U8(&'a [u8]),
Bit(&'a [Bit]),
NullableDate(NullableSlice<'a, Date>),
NullableTime(NullableSlice<'a, Time>),
NullableTimestamp(NullableSlice<'a, Timestamp>),
NullableF64(NullableSlice<'a, f64>),
NullableF32(NullableSlice<'a, f32>),
NullableI8(NullableSlice<'a, i8>),
NullableI16(NullableSlice<'a, i16>),
NullableI32(NullableSlice<'a, i32>),
NullableI64(NullableSlice<'a, i64>),
NullableU8(NullableSlice<'a, u8>),
NullableBit(NullableSlice<'a, Bit>),
}
Expand description
A borrowed view on the valid rows in a column of a crate::buffers::ColumnarRowSet
.
For columns of fixed size types, which are guaranteed to not contain null, a direct access to the slice is offered. Buffers over nullable columns can be accessed via an iterator over options.
Variants
Text(TextColumnIt<'a, u8>)
Nullable character data in the system encoding.
Tuple Fields of Text
0: TextColumnIt<'a, u8>
WText(TextColumnIt<'a, u16>)
Nullable character data encoded in UTF-16.
Tuple Fields of WText
0: TextColumnIt<'a, u16>
Binary(BinColumnIt<'a>)
Tuple Fields of Binary
0: BinColumnIt<'a>
NullableDate(NullableSlice<'a, Date>)
Tuple Fields of NullableDate
0: NullableSlice<'a, Date>
NullableTime(NullableSlice<'a, Time>)
Tuple Fields of NullableTime
0: NullableSlice<'a, Time>
NullableTimestamp(NullableSlice<'a, Timestamp>)
Tuple Fields of NullableTimestamp
0: NullableSlice<'a, Timestamp>
NullableF64(NullableSlice<'a, f64>)
Tuple Fields of NullableF64
0: NullableSlice<'a, f64>
NullableF32(NullableSlice<'a, f32>)
Tuple Fields of NullableF32
0: NullableSlice<'a, f32>
NullableI8(NullableSlice<'a, i8>)
Tuple Fields of NullableI8
0: NullableSlice<'a, i8>
NullableI16(NullableSlice<'a, i16>)
Tuple Fields of NullableI16
0: NullableSlice<'a, i16>
NullableI32(NullableSlice<'a, i32>)
Tuple Fields of NullableI32
0: NullableSlice<'a, i32>
NullableI64(NullableSlice<'a, i64>)
Tuple Fields of NullableI64
0: NullableSlice<'a, i64>
NullableU8(NullableSlice<'a, u8>)
Tuple Fields of NullableU8
0: NullableSlice<'a, u8>
NullableBit(NullableSlice<'a, Bit>)
Tuple Fields of NullableBit
0: NullableSlice<'a, Bit>