[−][src]Struct odbc_api::handles::Description
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: i16,
precision: i32
) -> Result<(), Error>
[src]
&mut self,
column_number: i16,
precision: i32
) -> Result<(), Error>
pub fn set_field_scale(
&mut self,
column_number: i16,
scale: i32
) -> Result<(), Error>
[src]
&mut self,
column_number: i16,
scale: i32
) -> Result<(), Error>
pub unsafe fn set_field_type(
&mut self,
column_number: i16,
data_type: SqlDataType
) -> Result<(), Error>
[src]
&mut self,
column_number: i16,
data_type: SqlDataType
) -> Result<(), Error>
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: i16,
data_type: SqlDataType
) -> Result<(), Error>
[src]
&mut self,
column_number: i16,
data_type: SqlDataType
) -> Result<(), Error>
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]
pub fn as_handle(&self) -> Handle
[src]
pub fn handle_type(&self) -> HandleType
[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,