Trait diesel::deserialize::FromSqlRow
[−]
[src]
pub trait FromSqlRow<A, DB: Backend>: Sized { const FIELDS_NEEDED: usize; fn build_from_row<T: Row<DB>>(row: &mut T) -> Result<Self>; }
Deserialize one or more fields.
All types which implement FromSql
should also implement this trait. This
trait differs from FromSql
in that it is also implemented by tuples.
Implementations of this trait are usually derived.
In the future, we hope to be able to provide a blanket impl of this trait
for all types which implement FromSql
. However, as of Diesel 1.0, such an
impl would conflict with our impl for tuples.
Deriving
This trait can be automatically derived by Diesel
for any type which implements FromSql
.
There are no options or special considerations needed for this derive.
Note that #[derive(FromSqlRow)]
will also generate a Queryable
implementation.
Associated Constants
const FIELDS_NEEDED: usize
FIELDS_NEEDED: usize = 1
The number of fields that this type will consume. Must be equal to
the number of times you would call row.take()
in build_from_row
Required Methods
fn build_from_row<T: Row<DB>>(row: &mut T) -> Result<Self>
See the trait documentation.
Implementations on Foreign Types
impl<T, ST> FromSqlRow<Range<ST>, Pg> for (Bound<T>, Bound<T>) where
(Bound<T>, Bound<T>): FromSql<Range<ST>, Pg>,
[src]
(Bound<T>, Bound<T>): FromSql<Range<ST>, Pg>,
fn build_from_row<R: Row<Pg>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<__ST, __DB> FromSqlRow<__ST, __DB> for Timespec where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<__ST, __DB> FromSqlRow<__ST, __DB> for [u8; 6] where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<__ST, __DB> FromSqlRow<__ST, __DB> for IpNetwork where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<__ST, __DB> FromSqlRow<__ST, __DB> for Uuid where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<__ST, __DB> FromSqlRow<__ST, __DB> for Value where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<__ST, __DB> FromSqlRow<__ST, __DB> for SystemTime where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<__ST, __DB> FromSqlRow<__ST, __DB> for NaiveDate where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<__ST, __DB> FromSqlRow<__ST, __DB> for NaiveTime where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<__ST, __DB> FromSqlRow<__ST, __DB> for NaiveDateTime where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<Tz: TimeZone, __ST, __DB> FromSqlRow<__ST, __DB> for DateTime<Tz> where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<T, ST, DB> FromSqlRow<Nullable<ST>, DB> for Option<T> where
T: FromSqlRow<ST, DB>,
DB: Backend,
ST: NotNull,
[src]
T: FromSqlRow<ST, DB>,
DB: Backend,
ST: NotNull,
const FIELDS_NEEDED: usize
fn build_from_row<R: Row<DB>>(row: &mut R) -> Result<Self>
[src]
impl<__ST, __DB> FromSqlRow<__ST, __DB> for bool where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<__ST, __DB> FromSqlRow<__ST, __DB> for i8 where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<__ST, __DB> FromSqlRow<__ST, __DB> for i16 where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<__ST, __DB> FromSqlRow<__ST, __DB> for i32 where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<__ST, __DB> FromSqlRow<__ST, __DB> for i64 where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<__ST, __DB> FromSqlRow<__ST, __DB> for u16 where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<__ST, __DB> FromSqlRow<__ST, __DB> for u32 where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<__ST, __DB> FromSqlRow<__ST, __DB> for u64 where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<__ST, __DB> FromSqlRow<__ST, __DB> for f32 where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<__ST, __DB> FromSqlRow<__ST, __DB> for f64 where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<__ST, __DB> FromSqlRow<__ST, __DB> for String where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<T, __ST, __DB> FromSqlRow<__ST, __DB> for Vec<T> where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<'a, T: ?Sized, ST, DB> FromSqlRow<ST, DB> for Cow<'a, T> where
T: 'a + ToOwned,
DB: Backend,
Cow<'a, T>: FromSql<ST, DB>,
[src]
T: 'a + ToOwned,
DB: Backend,
Cow<'a, T>: FromSql<ST, DB>,
fn build_from_row<R: Row<DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
impl<A, SA, __DB> FromSqlRow<(SA,), __DB> for (A,) where
__DB: Backend,
A: FromSqlRow<SA, __DB>,
[src]
__DB: Backend,
A: FromSqlRow<SA, __DB>,
impl<A, B, SA, SB, __DB> FromSqlRow<(SA, SB), __DB> for (A, B) where
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
[src]
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
impl<A, B, C, SA, SB, SC, __DB> FromSqlRow<(SA, SB, SC), __DB> for (A, B, C) where
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
[src]
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
impl<A, B, C, D, SA, SB, SC, SD, __DB> FromSqlRow<(SA, SB, SC, SD), __DB> for (A, B, C, D) where
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
[src]
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
impl<A, B, C, D, E, SA, SB, SC, SD, SE, __DB> FromSqlRow<(SA, SB, SC, SD, SE), __DB> for (A, B, C, D, E) where
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
[src]
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
impl<A, B, C, D, E, F, SA, SB, SC, SD, SE, SF, __DB> FromSqlRow<(SA, SB, SC, SD, SE, SF), __DB> for (A, B, C, D, E, F) where
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
[src]
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
impl<A, B, C, D, E, F, G, SA, SB, SC, SD, SE, SF, SG, __DB> FromSqlRow<(SA, SB, SC, SD, SE, SF, SG), __DB> for (A, B, C, D, E, F, G) where
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
G: FromSqlRow<SG, __DB>,
[src]
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
G: FromSqlRow<SG, __DB>,
impl<A, B, C, D, E, F, G, H, SA, SB, SC, SD, SE, SF, SG, SH, __DB> FromSqlRow<(SA, SB, SC, SD, SE, SF, SG, SH), __DB> for (A, B, C, D, E, F, G, H) where
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
G: FromSqlRow<SG, __DB>,
H: FromSqlRow<SH, __DB>,
[src]
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
G: FromSqlRow<SG, __DB>,
H: FromSqlRow<SH, __DB>,
impl<A, B, C, D, E, F, G, H, I, SA, SB, SC, SD, SE, SF, SG, SH, SI, __DB> FromSqlRow<(SA, SB, SC, SD, SE, SF, SG, SH, SI), __DB> for (A, B, C, D, E, F, G, H, I) where
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
G: FromSqlRow<SG, __DB>,
H: FromSqlRow<SH, __DB>,
I: FromSqlRow<SI, __DB>,
[src]
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
G: FromSqlRow<SG, __DB>,
H: FromSqlRow<SH, __DB>,
I: FromSqlRow<SI, __DB>,
impl<A, B, C, D, E, F, G, H, I, J, SA, SB, SC, SD, SE, SF, SG, SH, SI, SJ, __DB> FromSqlRow<(SA, SB, SC, SD, SE, SF, SG, SH, SI, SJ), __DB> for (A, B, C, D, E, F, G, H, I, J) where
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
G: FromSqlRow<SG, __DB>,
H: FromSqlRow<SH, __DB>,
I: FromSqlRow<SI, __DB>,
J: FromSqlRow<SJ, __DB>,
[src]
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
G: FromSqlRow<SG, __DB>,
H: FromSqlRow<SH, __DB>,
I: FromSqlRow<SI, __DB>,
J: FromSqlRow<SJ, __DB>,
impl<A, B, C, D, E, F, G, H, I, J, K, SA, SB, SC, SD, SE, SF, SG, SH, SI, SJ, SK, __DB> FromSqlRow<(SA, SB, SC, SD, SE, SF, SG, SH, SI, SJ, SK), __DB> for (A, B, C, D, E, F, G, H, I, J, K) where
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
G: FromSqlRow<SG, __DB>,
H: FromSqlRow<SH, __DB>,
I: FromSqlRow<SI, __DB>,
J: FromSqlRow<SJ, __DB>,
K: FromSqlRow<SK, __DB>,
[src]
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
G: FromSqlRow<SG, __DB>,
H: FromSqlRow<SH, __DB>,
I: FromSqlRow<SI, __DB>,
J: FromSqlRow<SJ, __DB>,
K: FromSqlRow<SK, __DB>,
impl<A, B, C, D, E, F, G, H, I, J, K, L, SA, SB, SC, SD, SE, SF, SG, SH, SI, SJ, SK, SL, __DB> FromSqlRow<(SA, SB, SC, SD, SE, SF, SG, SH, SI, SJ, SK, SL), __DB> for (A, B, C, D, E, F, G, H, I, J, K, L) where
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
G: FromSqlRow<SG, __DB>,
H: FromSqlRow<SH, __DB>,
I: FromSqlRow<SI, __DB>,
J: FromSqlRow<SJ, __DB>,
K: FromSqlRow<SK, __DB>,
L: FromSqlRow<SL, __DB>,
[src]
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
G: FromSqlRow<SG, __DB>,
H: FromSqlRow<SH, __DB>,
I: FromSqlRow<SI, __DB>,
J: FromSqlRow<SJ, __DB>,
K: FromSqlRow<SK, __DB>,
L: FromSqlRow<SL, __DB>,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, SA, SB, SC, SD, SE, SF, SG, SH, SI, SJ, SK, SL, SM, __DB> FromSqlRow<(SA, SB, SC, SD, SE, SF, SG, SH, SI, SJ, SK, SL, SM), __DB> for (A, B, C, D, E, F, G, H, I, J, K, L, M) where
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
G: FromSqlRow<SG, __DB>,
H: FromSqlRow<SH, __DB>,
I: FromSqlRow<SI, __DB>,
J: FromSqlRow<SJ, __DB>,
K: FromSqlRow<SK, __DB>,
L: FromSqlRow<SL, __DB>,
M: FromSqlRow<SM, __DB>,
[src]
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
G: FromSqlRow<SG, __DB>,
H: FromSqlRow<SH, __DB>,
I: FromSqlRow<SI, __DB>,
J: FromSqlRow<SJ, __DB>,
K: FromSqlRow<SK, __DB>,
L: FromSqlRow<SL, __DB>,
M: FromSqlRow<SM, __DB>,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, SA, SB, SC, SD, SE, SF, SG, SH, SI, SJ, SK, SL, SM, SN, __DB> FromSqlRow<(SA, SB, SC, SD, SE, SF, SG, SH, SI, SJ, SK, SL, SM, SN), __DB> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N) where
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
G: FromSqlRow<SG, __DB>,
H: FromSqlRow<SH, __DB>,
I: FromSqlRow<SI, __DB>,
J: FromSqlRow<SJ, __DB>,
K: FromSqlRow<SK, __DB>,
L: FromSqlRow<SL, __DB>,
M: FromSqlRow<SM, __DB>,
N: FromSqlRow<SN, __DB>,
[src]
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
G: FromSqlRow<SG, __DB>,
H: FromSqlRow<SH, __DB>,
I: FromSqlRow<SI, __DB>,
J: FromSqlRow<SJ, __DB>,
K: FromSqlRow<SK, __DB>,
L: FromSqlRow<SL, __DB>,
M: FromSqlRow<SM, __DB>,
N: FromSqlRow<SN, __DB>,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, SA, SB, SC, SD, SE, SF, SG, SH, SI, SJ, SK, SL, SM, SN, SO, __DB> FromSqlRow<(SA, SB, SC, SD, SE, SF, SG, SH, SI, SJ, SK, SL, SM, SN, SO), __DB> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O) where
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
G: FromSqlRow<SG, __DB>,
H: FromSqlRow<SH, __DB>,
I: FromSqlRow<SI, __DB>,
J: FromSqlRow<SJ, __DB>,
K: FromSqlRow<SK, __DB>,
L: FromSqlRow<SL, __DB>,
M: FromSqlRow<SM, __DB>,
N: FromSqlRow<SN, __DB>,
O: FromSqlRow<SO, __DB>,
[src]
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
G: FromSqlRow<SG, __DB>,
H: FromSqlRow<SH, __DB>,
I: FromSqlRow<SI, __DB>,
J: FromSqlRow<SJ, __DB>,
K: FromSqlRow<SK, __DB>,
L: FromSqlRow<SL, __DB>,
M: FromSqlRow<SM, __DB>,
N: FromSqlRow<SN, __DB>,
O: FromSqlRow<SO, __DB>,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, SA, SB, SC, SD, SE, SF, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SP, __DB> FromSqlRow<(SA, SB, SC, SD, SE, SF, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SP), __DB> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) where
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
G: FromSqlRow<SG, __DB>,
H: FromSqlRow<SH, __DB>,
I: FromSqlRow<SI, __DB>,
J: FromSqlRow<SJ, __DB>,
K: FromSqlRow<SK, __DB>,
L: FromSqlRow<SL, __DB>,
M: FromSqlRow<SM, __DB>,
N: FromSqlRow<SN, __DB>,
O: FromSqlRow<SO, __DB>,
P: FromSqlRow<SP, __DB>,
[src]
__DB: Backend,
A: FromSqlRow<SA, __DB>,
B: FromSqlRow<SB, __DB>,
C: FromSqlRow<SC, __DB>,
D: FromSqlRow<SD, __DB>,
E: FromSqlRow<SE, __DB>,
F: FromSqlRow<SF, __DB>,
G: FromSqlRow<SG, __DB>,
H: FromSqlRow<SH, __DB>,
I: FromSqlRow<SI, __DB>,
J: FromSqlRow<SJ, __DB>,
K: FromSqlRow<SK, __DB>,
L: FromSqlRow<SL, __DB>,
M: FromSqlRow<SM, __DB>,
N: FromSqlRow<SN, __DB>,
O: FromSqlRow<SO, __DB>,
P: FromSqlRow<SP, __DB>,
impl<__ST, __DB> FromSqlRow<__ST, __DB> for BigDecimal where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
Implementors
impl<__ST, __DB> FromSqlRow<__ST, __DB> for PgTimestamp where
__DB: Backend,
Self: FromSql<__ST, __DB>,impl<__ST, __DB> FromSqlRow<__ST, __DB> for PgDate where
__DB: Backend,
Self: FromSql<__ST, __DB>,impl<__ST, __DB> FromSqlRow<__ST, __DB> for PgTime where
__DB: Backend,
Self: FromSql<__ST, __DB>,impl<__ST, __DB> FromSqlRow<__ST, __DB> for PgInterval where
__DB: Backend,
Self: FromSql<__ST, __DB>,impl<__ST, __DB> FromSqlRow<__ST, __DB> for PgNumeric where
__DB: Backend,
Self: FromSql<__ST, __DB>,impl<__ST, __DB> FromSqlRow<__ST, __DB> for PgMoney where
__DB: Backend,
Self: FromSql<__ST, __DB>,