[−][src]Struct odbc_api::handles::ColumnDescription
Describes the type and attributes of a column.
Fields
name: Vec<u16>
Column name. May be empty if unavailable.
data_type: DataType
Type of the column
nullability: Nullability
Indicates whether 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 whether the column is nullable. false
if and only if the column is NoNulls
.
Trait Implementations
impl Clone for ColumnDescription
[src]
pub fn clone(&self) -> ColumnDescription
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ColumnDescription
[src]
impl Default for ColumnDescription
[src]
pub fn default() -> ColumnDescription
[src]
impl Eq for ColumnDescription
[src]
impl PartialEq<ColumnDescription> for ColumnDescription
[src]
pub fn eq(&self, other: &ColumnDescription) -> bool
[src]
pub fn ne(&self, other: &ColumnDescription) -> bool
[src]
impl StructuralEq for ColumnDescription
[src]
impl StructuralPartialEq for ColumnDescription
[src]
Auto Trait Implementations
impl RefUnwindSafe for ColumnDescription
[src]
impl Send for ColumnDescription
[src]
impl Sync for ColumnDescription
[src]
impl Unpin for ColumnDescription
[src]
impl UnwindSafe for ColumnDescription
[src]
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>,