[−][src]Trait diesel::expression::AsExpressionList
Converts a tuple of values into a tuple of Diesel expressions.
This trait is similar to AsExpression
, but it operates on tuples.
The expressions must all be of the same SQL type.
Associated Types
type Expression
The final output expression
Required methods
fn as_expression_list(self) -> Self::Expression
Perform the conversion
Implementations on Foreign Types
impl<A, ST> AsExpressionList<ST> for (A,) where
A: AsExpression<ST>,
[src]
A: AsExpression<ST>,
type Expression = (A::Expression,)
fn as_expression_list(self) -> Self::Expression
[src]
impl<A, B, ST> AsExpressionList<ST> for (A, B) where
A: AsExpression<ST>,
B: AsExpression<ST>,
[src]
A: AsExpression<ST>,
B: AsExpression<ST>,
type Expression = (A::Expression, B::Expression)
fn as_expression_list(self) -> Self::Expression
[src]
impl<A, B, C, ST> AsExpressionList<ST> for (A, B, C) where
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
[src]
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
type Expression = (A::Expression, B::Expression, C::Expression)
fn as_expression_list(self) -> Self::Expression
[src]
impl<A, B, C, D, ST> AsExpressionList<ST> for (A, B, C, D) where
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
[src]
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
type Expression = (A::Expression, B::Expression, C::Expression, D::Expression)
fn as_expression_list(self) -> Self::Expression
[src]
impl<A, B, C, D, E, ST> AsExpressionList<ST> for (A, B, C, D, E) where
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
[src]
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
type Expression = (A::Expression, B::Expression, C::Expression, D::Expression, E::Expression)
fn as_expression_list(self) -> Self::Expression
[src]
impl<A, B, C, D, E, F, ST> AsExpressionList<ST> for (A, B, C, D, E, F) where
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
[src]
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
type Expression = (A::Expression, B::Expression, C::Expression, D::Expression, E::Expression, F::Expression)
fn as_expression_list(self) -> Self::Expression
[src]
impl<A, B, C, D, E, F, G, ST> AsExpressionList<ST> for (A, B, C, D, E, F, G) where
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
G: AsExpression<ST>,
[src]
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
G: AsExpression<ST>,
type Expression = (A::Expression, B::Expression, C::Expression, D::Expression, E::Expression, F::Expression, G::Expression)
fn as_expression_list(self) -> Self::Expression
[src]
impl<A, B, C, D, E, F, G, H, ST> AsExpressionList<ST> for (A, B, C, D, E, F, G, H) where
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
G: AsExpression<ST>,
H: AsExpression<ST>,
[src]
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
G: AsExpression<ST>,
H: AsExpression<ST>,
type Expression = (A::Expression, B::Expression, C::Expression, D::Expression, E::Expression, F::Expression, G::Expression, H::Expression)
fn as_expression_list(self) -> Self::Expression
[src]
impl<A, B, C, D, E, F, G, H, I, ST> AsExpressionList<ST> for (A, B, C, D, E, F, G, H, I) where
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
G: AsExpression<ST>,
H: AsExpression<ST>,
I: AsExpression<ST>,
[src]
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
G: AsExpression<ST>,
H: AsExpression<ST>,
I: AsExpression<ST>,
type Expression = (A::Expression, B::Expression, C::Expression, D::Expression, E::Expression, F::Expression, G::Expression, H::Expression, I::Expression)
fn as_expression_list(self) -> Self::Expression
[src]
impl<A, B, C, D, E, F, G, H, I, J, ST> AsExpressionList<ST> for (A, B, C, D, E, F, G, H, I, J) where
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
G: AsExpression<ST>,
H: AsExpression<ST>,
I: AsExpression<ST>,
J: AsExpression<ST>,
[src]
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
G: AsExpression<ST>,
H: AsExpression<ST>,
I: AsExpression<ST>,
J: AsExpression<ST>,
type Expression = (A::Expression, B::Expression, C::Expression, D::Expression, E::Expression, F::Expression, G::Expression, H::Expression, I::Expression, J::Expression)
fn as_expression_list(self) -> Self::Expression
[src]
impl<A, B, C, D, E, F, G, H, I, J, K, ST> AsExpressionList<ST> for (A, B, C, D, E, F, G, H, I, J, K) where
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
G: AsExpression<ST>,
H: AsExpression<ST>,
I: AsExpression<ST>,
J: AsExpression<ST>,
K: AsExpression<ST>,
[src]
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
G: AsExpression<ST>,
H: AsExpression<ST>,
I: AsExpression<ST>,
J: AsExpression<ST>,
K: AsExpression<ST>,
type Expression = (A::Expression, B::Expression, C::Expression, D::Expression, E::Expression, F::Expression, G::Expression, H::Expression, I::Expression, J::Expression, K::Expression)
fn as_expression_list(self) -> Self::Expression
[src]
impl<A, B, C, D, E, F, G, H, I, J, K, L, ST> AsExpressionList<ST> for (A, B, C, D, E, F, G, H, I, J, K, L) where
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
G: AsExpression<ST>,
H: AsExpression<ST>,
I: AsExpression<ST>,
J: AsExpression<ST>,
K: AsExpression<ST>,
L: AsExpression<ST>,
[src]
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
G: AsExpression<ST>,
H: AsExpression<ST>,
I: AsExpression<ST>,
J: AsExpression<ST>,
K: AsExpression<ST>,
L: AsExpression<ST>,
type Expression = (A::Expression, B::Expression, C::Expression, D::Expression, E::Expression, F::Expression, G::Expression, H::Expression, I::Expression, J::Expression, K::Expression, L::Expression)
fn as_expression_list(self) -> Self::Expression
[src]
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, ST> AsExpressionList<ST> for (A, B, C, D, E, F, G, H, I, J, K, L, M) where
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
G: AsExpression<ST>,
H: AsExpression<ST>,
I: AsExpression<ST>,
J: AsExpression<ST>,
K: AsExpression<ST>,
L: AsExpression<ST>,
M: AsExpression<ST>,
[src]
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
G: AsExpression<ST>,
H: AsExpression<ST>,
I: AsExpression<ST>,
J: AsExpression<ST>,
K: AsExpression<ST>,
L: AsExpression<ST>,
M: AsExpression<ST>,
type Expression = (A::Expression, B::Expression, C::Expression, D::Expression, E::Expression, F::Expression, G::Expression, H::Expression, I::Expression, J::Expression, K::Expression, L::Expression, M::Expression)
fn as_expression_list(self) -> Self::Expression
[src]
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, ST> AsExpressionList<ST> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N) where
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
G: AsExpression<ST>,
H: AsExpression<ST>,
I: AsExpression<ST>,
J: AsExpression<ST>,
K: AsExpression<ST>,
L: AsExpression<ST>,
M: AsExpression<ST>,
N: AsExpression<ST>,
[src]
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
G: AsExpression<ST>,
H: AsExpression<ST>,
I: AsExpression<ST>,
J: AsExpression<ST>,
K: AsExpression<ST>,
L: AsExpression<ST>,
M: AsExpression<ST>,
N: AsExpression<ST>,
type Expression = (A::Expression, B::Expression, C::Expression, D::Expression, E::Expression, F::Expression, G::Expression, H::Expression, I::Expression, J::Expression, K::Expression, L::Expression, M::Expression, N::Expression)
fn as_expression_list(self) -> Self::Expression
[src]
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, ST> AsExpressionList<ST> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O) where
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
G: AsExpression<ST>,
H: AsExpression<ST>,
I: AsExpression<ST>,
J: AsExpression<ST>,
K: AsExpression<ST>,
L: AsExpression<ST>,
M: AsExpression<ST>,
N: AsExpression<ST>,
O: AsExpression<ST>,
[src]
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
G: AsExpression<ST>,
H: AsExpression<ST>,
I: AsExpression<ST>,
J: AsExpression<ST>,
K: AsExpression<ST>,
L: AsExpression<ST>,
M: AsExpression<ST>,
N: AsExpression<ST>,
O: AsExpression<ST>,
type Expression = (A::Expression, B::Expression, C::Expression, D::Expression, E::Expression, F::Expression, G::Expression, H::Expression, I::Expression, J::Expression, K::Expression, L::Expression, M::Expression, N::Expression, O::Expression)
fn as_expression_list(self) -> Self::Expression
[src]
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, ST> AsExpressionList<ST> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) where
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
G: AsExpression<ST>,
H: AsExpression<ST>,
I: AsExpression<ST>,
J: AsExpression<ST>,
K: AsExpression<ST>,
L: AsExpression<ST>,
M: AsExpression<ST>,
N: AsExpression<ST>,
O: AsExpression<ST>,
P: AsExpression<ST>,
[src]
A: AsExpression<ST>,
B: AsExpression<ST>,
C: AsExpression<ST>,
D: AsExpression<ST>,
E: AsExpression<ST>,
F: AsExpression<ST>,
G: AsExpression<ST>,
H: AsExpression<ST>,
I: AsExpression<ST>,
J: AsExpression<ST>,
K: AsExpression<ST>,
L: AsExpression<ST>,
M: AsExpression<ST>,
N: AsExpression<ST>,
O: AsExpression<ST>,
P: AsExpression<ST>,