[−][src]Struct odbc_api::ColumnDescription
Describes the type and attributes of a column.
Fields
name: Vec<WChar>
Colmun name. May be empty if unavailable.
data_type: SqlDataType
Type of the column
column_size: ULen
Size of column element
decimal_digits: SmallInt
nullable: Nullable
Indicates wether the column is nullable or not.
Implementations
impl ColumnDescription
[src]
pub fn name_to_string(&self) -> Result<String, DecodeUtf16Error>
[src]
Converts the internal UTF16 representation of the column name into UTF8 and returns the
result as a String
.
pub fn could_be_nullable(&self) -> bool
[src]
true
if the column is Nullable
or it is not know wether the column is nullable. false
if and only if the column is NoNulls
.
Trait Implementations
impl Clone for ColumnDescription
[src]
fn clone(&self) -> ColumnDescription
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ColumnDescription
[src]
impl Default for ColumnDescription
[src]
impl Eq for ColumnDescription
[src]
impl PartialEq<ColumnDescription> for ColumnDescription
[src]
fn eq(&self, other: &ColumnDescription) -> bool
[src]
fn ne(&self, other: &ColumnDescription) -> bool
[src]
impl StructuralEq for ColumnDescription
[src]
impl StructuralPartialEq for ColumnDescription
[src]
Auto Trait Implementations
impl RefUnwindSafe for ColumnDescription
impl Send for ColumnDescription
impl Sync for ColumnDescription
impl Unpin for ColumnDescription
impl UnwindSafe for ColumnDescription
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,
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.
fn to_owned(&self) -> T
[src]
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.
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>,