[−][src]Trait sqlx::decode::Decode
Decode a single value from the database.
Required methods
Loading content...Provided methods
fn decode_null() -> Result<Self, DecodeError>
Creates a new value of this type from a NULL SQL value.
The default implementation returns [DecodeError::UnexpectedNull].
fn decode_nullable(raw: Option<&[u8]>) -> Result<Self, DecodeError>
Implementations on Foreign Types
impl Decode<Postgres> for f64[src]
impl Decode<MySql> for bool[src]
impl Decode<MySql> for String[src]
impl Decode<Postgres> for i16[src]
impl Decode<MySql> for i32[src]
impl Decode<Postgres> for i64[src]
impl Decode<Postgres> for bool[src]
impl Decode<Postgres> for Vec<u8>[src]
impl Decode<MySql> for u64[src]
impl Decode<MySql> for i64[src]
impl<T, DB> Decode<DB> for Option<T> where
DB: Database + HasSqlType<T>,
T: Decode<DB>, [src]
DB: Database + HasSqlType<T>,
T: Decode<DB>,