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>

Tuple Fields of Date

0: &'a [Date]

Tuple Fields of Time

0: &'a [Time]
Timestamp(&'a [Timestamp])

Tuple Fields of Timestamp

0: &'a [Timestamp]

Tuple Fields of F64

0: &'a [f64]

Tuple Fields of F32

0: &'a [f32]

Tuple Fields of I8

0: &'a [i8]

Tuple Fields of I16

0: &'a [i16]

Tuple Fields of I32

0: &'a [i32]

Tuple Fields of I64

0: &'a [i64]

Tuple Fields of U8

0: &'a [u8]

Tuple Fields of Bit

0: &'a [Bit]
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>

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.