Trait diesel::expression::QueryMetadata

source ·
pub trait QueryMetadata<T>: Backend {
    // Required method
    fn row_metadata(
        lookup: &mut Self::MetadataLookup,
        out: &mut Vec<Option<Self::TypeMetadata>>,
    );
}
Expand description

A helper to translate type level sql type information into runtime type information for specific queries

If you do not implement a custom backend implementation this trait is likely not relevant for you.

Required Methods§

source

fn row_metadata( lookup: &mut Self::MetadataLookup, out: &mut Vec<Option<Self::TypeMetadata>>, )

The exact return value of this function is considered to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<DB: Backend> QueryMetadata<Untyped> for DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, T30, T31, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, T30, T31)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, T30, T31, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, T30, T31)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, T30, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, T30)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, T30, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, T30)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7, T8)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6, T7)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6, T7)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5, T6)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, T6, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5, T6)>> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, __DB> QueryMetadata<(T0, T1, T2, T3, T4, T5)> for __DB

source§

impl<T0, T1, T2, T3, T4, T5, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4, T5)>> for __DB

source§

impl<T0, T1, T2, T3, T4, __DB> QueryMetadata<(T0, T1, T2, T3, T4)> for __DB
where __DB: Backend + QueryMetadata<T0> + QueryMetadata<T1> + QueryMetadata<T2> + QueryMetadata<T3> + QueryMetadata<T4>,

source§

impl<T0, T1, T2, T3, T4, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4)>> for __DB
where __DB: Backend + QueryMetadata<T0> + QueryMetadata<T1> + QueryMetadata<T2> + QueryMetadata<T3> + QueryMetadata<T4>,

source§

impl<T0, T1, T2, T3, __DB> QueryMetadata<(T0, T1, T2, T3)> for __DB
where __DB: Backend + QueryMetadata<T0> + QueryMetadata<T1> + QueryMetadata<T2> + QueryMetadata<T3>,

source§

impl<T0, T1, T2, T3, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3)>> for __DB
where __DB: Backend + QueryMetadata<T0> + QueryMetadata<T1> + QueryMetadata<T2> + QueryMetadata<T3>,

source§

impl<T0, T1, T2, __DB> QueryMetadata<(T0, T1, T2)> for __DB
where __DB: Backend + QueryMetadata<T0> + QueryMetadata<T1> + QueryMetadata<T2>,

source§

impl<T0, T1, T2, __DB> QueryMetadata<Nullable<(T0, T1, T2)>> for __DB
where __DB: Backend + QueryMetadata<T0> + QueryMetadata<T1> + QueryMetadata<T2>,

source§

impl<T0, T1, __DB> QueryMetadata<(T0, T1)> for __DB
where __DB: Backend + QueryMetadata<T0> + QueryMetadata<T1>,

source§

impl<T0, T1, __DB> QueryMetadata<Nullable<(T0, T1)>> for __DB
where __DB: Backend + QueryMetadata<T0> + QueryMetadata<T1>,

source§

impl<T0, __DB> QueryMetadata<(T0,)> for __DB
where __DB: Backend + QueryMetadata<T0>,

source§

impl<T0, __DB> QueryMetadata<Nullable<(T0,)>> for __DB
where __DB: Backend + QueryMetadata<T0>,

source§

impl<T, DB> QueryMetadata<T> for DB
where DB: Backend + HasSqlType<T>, T: SingleValue,