Enum odbc_api::Nullability[][src]

pub enum Nullability {
    Unknown,
    Nullable,
    NoNulls,
}

Indication of whether a column is nullable or not.

Variants

Unknown

Indicates that we do not know wether the column is Nullable or not.

Nullable

The column may hold NULL values.

NoNulls

The column can not hold NULL values.

Implementations

impl Nullability[src]

pub fn new(nullability: Nullability) -> Self[src]

Construct a newe instance from a Nullability new type constant.

Trait Implementations

impl Clone for Nullability[src]

impl Debug for Nullability[src]

impl Default for Nullability[src]

impl Eq for Nullability[src]

impl PartialEq<Nullability> for Nullability[src]

impl StructuralEq for Nullability[src]

impl StructuralPartialEq for Nullability[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.