[][src]Struct odbc_api::handles::Description

pub struct Description<'d> { /* fields omitted */ }

Wraps a valid description handle.

Implementations

impl<'d> Description<'d>[src]

pub unsafe fn new(handle: HDesc) -> Self[src]

Safety

handle must be a valid description handle.

pub fn set_field_precision(
    &mut self,
    column_number: SmallInt,
    precision: Integer
) -> Result<(), Error>
[src]

pub fn set_field_scale(
    &mut self,
    column_number: SmallInt,
    scale: Integer
) -> Result<(), Error>
[src]

pub unsafe fn set_field_type(
    &mut self,
    column_number: SmallInt,
    data_type: SqlDataType
) -> Result<(), Error>
[src]

Safety

Overwrites the field type in the ARD record. This type may be used by odbc to determine buffer sizes and such.

pub unsafe fn set_field_concise_type(
    &mut self,
    column_number: SmallInt,
    data_type: SqlDataType
) -> Result<(), Error>
[src]

Safety

Overwrites the concise field type in the ARD record. This type may be used by odbc to determine buffer sizes and such.

Trait Implementations

impl<'c> AsHandle for Description<'c>[src]

Auto Trait Implementations

impl<'d> RefUnwindSafe for Description<'d>

impl<'d> !Send for Description<'d>

impl<'d> !Sync for Description<'d>

impl<'d> Unpin for Description<'d>

impl<'d> UnwindSafe for Description<'d>

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.