pub enum AnySliceMut<'a> {
Show 25 variants Text(TextColumnSliceMut<'a, u8>), WText(TextColumnSliceMut<'a, u16>), Binary(BinColumnSliceMut<'a>), Date(&'a mut [Date]), Time(&'a mut [Time]), Timestamp(&'a mut [Timestamp]), F64(&'a mut [f64]), F32(&'a mut [f32]), I8(&'a mut [i8]), I16(&'a mut [i16]), I32(&'a mut [i32]), I64(&'a mut [i64]), U8(&'a mut [u8]), Bit(&'a mut [Bit]), NullableDate(NullableSliceMut<'a, Date>), NullableTime(NullableSliceMut<'a, Time>), NullableTimestamp(NullableSliceMut<'a, Timestamp>), NullableF64(NullableSliceMut<'a, f64>), NullableF32(NullableSliceMut<'a, f32>), NullableI8(NullableSliceMut<'a, i8>), NullableI16(NullableSliceMut<'a, i16>), NullableI32(NullableSliceMut<'a, i32>), NullableI64(NullableSliceMut<'a, i64>), NullableU8(NullableSliceMut<'a, u8>), NullableBit(NullableSliceMut<'a, Bit>),
}
Expand description

A mutable slice of an input buffer, with runtime type information. Edit values in this slice in order to send parameters in bulk to a database.

Variants§

§

Text(TextColumnSliceMut<'a, u8>)

§

WText(TextColumnSliceMut<'a, u16>)

Nullable character data encoded in UTF-16.

§

Binary(BinColumnSliceMut<'a>)

§

Date(&'a mut [Date])

§

Time(&'a mut [Time])

§

Timestamp(&'a mut [Timestamp])

§

F64(&'a mut [f64])

§

F32(&'a mut [f32])

§

I8(&'a mut [i8])

§

I16(&'a mut [i16])

§

I32(&'a mut [i32])

§

I64(&'a mut [i64])

§

U8(&'a mut [u8])

§

Bit(&'a mut [Bit])

§

NullableDate(NullableSliceMut<'a, Date>)

§

NullableTime(NullableSliceMut<'a, Time>)

§

NullableTimestamp(NullableSliceMut<'a, Timestamp>)

§

NullableF64(NullableSliceMut<'a, f64>)

§

NullableF32(NullableSliceMut<'a, f32>)

§

NullableI8(NullableSliceMut<'a, i8>)

§

NullableI16(NullableSliceMut<'a, i16>)

§

NullableI32(NullableSliceMut<'a, i32>)

§

NullableI64(NullableSliceMut<'a, i64>)

§

NullableU8(NullableSliceMut<'a, u8>)

§

NullableBit(NullableSliceMut<'a, Bit>)

Implementations§

This method is useful if you expect the variant to be AnyColumnSliceMut::Binary. It allows to you unwrap the inner column view without explictly matching it.

This method is useful if you expect the variant to be AnyColumnSliceMut::Text. It allows to you unwrap the inner column view without explictly matching it.

This method is useful if you expect the variant to be AnyColumnSliceMut::WText. It allows you to unwrap the inner column view without explictly matching it.

Extract the array type from an AnyColumnSliceMut.

Extract the typed nullable buffer from an AnyColumnSliceMut.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.