[][src]Enum tiberius::ColumnType

pub enum ColumnType {
    Null,
    Bit,
    Int1,
    Int2,
    Int4,
    Int8,
    Datetime4,
    Float4,
    Float8,
    Money,
    Datetime,
    Money4,
    Guid,
    Intn,
    Bitn,
    Decimaln,
    Numericn,
    Floatn,
    Datetimen,
    Daten,
    Timen,
    Datetime2,
    DatetimeOffsetn,
    BigVarBin,
    BigVarChar,
    BigBinary,
    BigChar,
    NVarchar,
    NChar,
    Xml,
    Udt,
    Text,
    Image,
    NText,
    SSVariant,
}

The type of the column.

Variants

Null

The column doesn't have a specified type.

Bit

A bit or boolean value.

Int1

An 8-bit integer value.

Int2

A 16-bit integer value.

Int4

A 32-bit integer value.

Int8

A 64-bit integer value.

Datetime4

A 32-bit datetime value.

Float4

A 32-bit floating point value.

Float8

A 64-bit floating point value.

Money

Money value.

Datetime

A TDS 7.2 datetime value.

Money4

A 32-bit money value.

Guid

A unique identifier, UUID.

Intn

N-bit integer value (variable).

Bitn

A bit value in a variable-length type.

Decimaln

A decimal value (same as Numericn).

Numericn

A numeric value (same as Decimaln).

Floatn

A n-bit floating point value.

Datetimen

A n-bit datetime value (TDS 7.2).

Daten

A n-bit date value (TDS 7.3).

Timen

A n-bit time value (TDS 7.3).

Datetime2

A n-bit datetime2 value (TDS 7.3).

DatetimeOffsetn

A n-bit datetime value with an offset (TDS 7.3).

BigVarBin

A variable binary value.

BigVarChar

A large variable string value.

BigBinary

A binary value.

BigChar

A string value.

NVarchar

A variable string value with UTF-16 encoding.

NChar

A string value with UTF-16 encoding.

Xml

A XML value.

Udt

User-defined type.

Text

A text value (deprecated).

Image

A image value (deprecated).

NText

A text value with UTF-16 encoding (deprecated).

SSVariant

An SQL variant type.

Trait Implementations

impl Clone for ColumnType[src]

impl Copy for ColumnType[src]

impl Debug for ColumnType[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,