[][src]Struct odbc_api::buffers::BindColParameters

pub struct BindColParameters {
    pub target_type: CDataType,
    pub target_value: Pointer,
    pub target_length: Len,
    pub indicator: *mut Len,
}

Arguments used to descripbe the buffer then binding this column to a cursor.

Fields

target_type: CDataType

The identifier of the C data type of the value buffer. When it is retrieving data from the data source with fetch, the driver converts the data to this type. When it sends data to the source, the driver converts the data from this type.

target_value: Pointer

Pointer to the data buffer to bind to the column.Start address of the value buffer.

target_length: Len

Length of a target value in bytes. For a single element in case of block fetching data.

indicator: *mut Len

Buffer is going to hold length or indicator values. Can be null if the column is not nullable and elemnts are of fixed length.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.