[][src]Enum asn1rs_model::model::sql::SqlType

pub enum SqlType {
    SmallInt,
    Integer,
    BigInt,
    Serial,
    Boolean,
    Text,
    Array(Box<SqlType>),
    NotNull(Box<SqlType>),
    ByteArray,
    References(StringStringOption<Action>, Option<Action>),
}

Variants

SmallInt
Integer
BigInt
Serial
Boolean
Text
Array(Box<SqlType>)
NotNull(Box<SqlType>)
ByteArray
References(StringStringOption<Action>, Option<Action>)

Implementations

impl SqlType[src]

pub fn nullable(self) -> Self[src]

pub fn not_null(self) -> Self[src]

pub fn to_rust(&self) -> RustType[src]

Trait Implementations

impl Clone for SqlType[src]

impl Debug for SqlType[src]

impl PartialEq<SqlType> for SqlType[src]

impl PartialOrd<SqlType> for SqlType[src]

impl StructuralPartialEq for SqlType[src]

impl ToString for SqlType[src]

Auto Trait Implementations

impl RefUnwindSafe for SqlType

impl Send for SqlType

impl Sync for SqlType

impl Unpin for SqlType

impl UnwindSafe for SqlType

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> ToString for T where
    T: Display + ?Sized
[src]

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.