[][src]Trait sqlx_core::decode::Decode

pub trait Decode<'de, DB> where
    Self: Sized + 'de,
    DB: Database
{ fn decode(value: <DB as HasRawValue<'de>>::RawValue) -> Result<Self>; }

A type that can be decoded from the database.

Required methods

fn decode(value: <DB as HasRawValue<'de>>::RawValue) -> Result<Self>

Loading content...

Implementors

Loading content...