[][src]Trait sqlx::types::HasSqlType

pub trait HasSqlType<T>: HasTypeMetadata where
    T: ?Sized
{ fn metadata() -> Self::TypeMetadata; }

Indicates that a SQL type is supported for a database.

Required methods

fn metadata() -> Self::TypeMetadata

Fetch the metadata for the given type.

Loading content...

Implementors

impl<'_, T, DB> HasSqlType<&'_ T> for DB where
    DB: HasSqlType<T>,
    T: ?Sized
[src]

impl<T, DB> HasSqlType<Option<T>> for DB where
    DB: HasSqlType<T>, 
[src]

Loading content...