Skip to main content

DecodeRow

Trait DecodeRow 

Source
pub trait DecodeRow: Sized { }
Expand description

Decodes a query’s Output positionally out of a PgRow. Keyed on the plain-Rust type a selection produces rather than on the selection itself: erasure leaves only Output, with no Selection impl left to hang decoding off, so this is implemented directly against the closed set of native types.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl DecodeRow for DateTime<Utc>

Source§

impl DecodeRow for Decimal

Source§

impl DecodeRow for NaiveDate

Source§

impl DecodeRow for Option<DateTime<Utc>>

Source§

impl DecodeRow for Option<Decimal>

Source§

impl DecodeRow for Option<NaiveDate>

Source§

impl DecodeRow for Option<String>

Source§

impl DecodeRow for Option<Uuid>

Source§

impl DecodeRow for Option<Vec<u8>>

Source§

impl DecodeRow for Option<bool>

Source§

impl DecodeRow for Option<f64>

Source§

impl DecodeRow for Option<i32>

Source§

impl DecodeRow for Option<i64>

Source§

impl DecodeRow for RowNil

Source§

impl DecodeRow for String

Source§

impl DecodeRow for Uuid

Source§

impl DecodeRow for Vec<u8>

Source§

impl DecodeRow for bool

Source§

impl DecodeRow for f64

Source§

impl DecodeRow for i32

Source§

impl DecodeRow for i64

Source§

impl<K, V: DecodeRow, Tail: DecodeRow> DecodeRow for RowCons<K, V, Tail>

Source§

impl<L: DecodeRow> DecodeRow for Row<L>

Implementors§