Struct odbc_api::buffers::BufferDescription [−][src]
Used to describe a column of a crate::buffers::ColumnarRowSet
.
While related to to the crate::DataType
of the column this is bound to, the Buffer type is
different as it does not describe the type of the data source but the format the data is going
to be represented in memory. While the data source is often considered to choose the buffer type
the kind of processing which is supposed to be applied to the data may be even more important
if choosing the a buffer for the cursor type. I.e. if you intend to print a date to standard out
it may be more reasonable to bind it as Text
rather than Date
.
Fields
nullable: bool
This indicates whether or not the buffer will be able to represent NULL values. This will cause an indicator buffer to be bound if the selected buffer kind does not already require one anyway.
kind: BufferKind
The type of CData the buffer will be holding.
Trait Implementations
impl Clone for BufferDescription
[src]
fn clone(&self) -> BufferDescription
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BufferDescription
[src]
impl Debug for BufferDescription
[src]
Auto Trait Implementations
impl RefUnwindSafe for BufferDescription
impl Send for BufferDescription
impl Sync for BufferDescription
impl Unpin for BufferDescription
impl UnwindSafe for BufferDescription
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,