HasSqlType

Trait HasSqlType 

Source
pub trait HasSqlType {
    // Required method
    fn get_sql_type() -> SqlType;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl HasSqlType for &str

Source§

impl HasSqlType for f32

Source§

impl HasSqlType for f64

Source§

impl HasSqlType for i8

Source§

impl HasSqlType for i16

Source§

impl HasSqlType for i32

Source§

impl HasSqlType for i64

Source§

impl HasSqlType for u8

Source§

impl HasSqlType for u16

Source§

impl HasSqlType for u32

Source§

impl HasSqlType for u64

Source§

impl HasSqlType for String

Source§

impl HasSqlType for Date<Tz>

Source§

impl HasSqlType for DateTime<Tz>

Implementors§