[][src]Trait diesel::expression::NonAggregate

pub trait NonAggregate { }

Marker trait to indicate that an expression does not include any aggregate functions.

Used to ensure that aggregate expressions aren't mixed with non-aggregate expressions in a select clause, and that they're never included in a where clause.

Deriving

This trait can be automatically derived for structs with no type parameters which are not aggregate, as well as for structs which are NonAggregate when all type parameters are NonAggregate. For example:

This example is not tested
#[derive(NonAggregate)]
struct Plus<Lhs, Rhs>(Lhs, Rhs);

// The following impl will be generated:
impl<Lhs, Rhs> NonAggregate for Plus<Lhs, Rhs>
where
    Lhs: NonAggregate,
    Rhs: NonAggregate,
{
}

Implementations on Foreign Types

impl<T: NonAggregate + ?Sized> NonAggregate for Box<T>[src]

impl<'a, T: NonAggregate + ?Sized> NonAggregate for &'a T[src]

impl<A: Expression + NonAggregate> NonAggregate for (A,)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate> NonAggregate for (A, B)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate> NonAggregate for (A, B, C)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate> NonAggregate for (A, B, C, D)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate> NonAggregate for (A, B, C, D, E)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L, M)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate, O: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate, O: Expression + NonAggregate, P: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate, O: Expression + NonAggregate, P: Expression + NonAggregate, Q: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate, O: Expression + NonAggregate, P: Expression + NonAggregate, Q: Expression + NonAggregate, R: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate, O: Expression + NonAggregate, P: Expression + NonAggregate, Q: Expression + NonAggregate, R: Expression + NonAggregate, S: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate, O: Expression + NonAggregate, P: Expression + NonAggregate, Q: Expression + NonAggregate, R: Expression + NonAggregate, S: Expression + NonAggregate, T: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate, O: Expression + NonAggregate, P: Expression + NonAggregate, Q: Expression + NonAggregate, R: Expression + NonAggregate, S: Expression + NonAggregate, T: Expression + NonAggregate, U: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate, O: Expression + NonAggregate, P: Expression + NonAggregate, Q: Expression + NonAggregate, R: Expression + NonAggregate, S: Expression + NonAggregate, T: Expression + NonAggregate, U: Expression + NonAggregate, V: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate, O: Expression + NonAggregate, P: Expression + NonAggregate, Q: Expression + NonAggregate, R: Expression + NonAggregate, S: Expression + NonAggregate, T: Expression + NonAggregate, U: Expression + NonAggregate, V: Expression + NonAggregate, W: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate, O: Expression + NonAggregate, P: Expression + NonAggregate, Q: Expression + NonAggregate, R: Expression + NonAggregate, S: Expression + NonAggregate, T: Expression + NonAggregate, U: Expression + NonAggregate, V: Expression + NonAggregate, W: Expression + NonAggregate, X: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate, O: Expression + NonAggregate, P: Expression + NonAggregate, Q: Expression + NonAggregate, R: Expression + NonAggregate, S: Expression + NonAggregate, T: Expression + NonAggregate, U: Expression + NonAggregate, V: Expression + NonAggregate, W: Expression + NonAggregate, X: Expression + NonAggregate, Y: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate, O: Expression + NonAggregate, P: Expression + NonAggregate, Q: Expression + NonAggregate, R: Expression + NonAggregate, S: Expression + NonAggregate, T: Expression + NonAggregate, U: Expression + NonAggregate, V: Expression + NonAggregate, W: Expression + NonAggregate, X: Expression + NonAggregate, Y: Expression + NonAggregate, Z: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate, O: Expression + NonAggregate, P: Expression + NonAggregate, Q: Expression + NonAggregate, R: Expression + NonAggregate, S: Expression + NonAggregate, T: Expression + NonAggregate, U: Expression + NonAggregate, V: Expression + NonAggregate, W: Expression + NonAggregate, X: Expression + NonAggregate, Y: Expression + NonAggregate, Z: Expression + NonAggregate, AA: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate, O: Expression + NonAggregate, P: Expression + NonAggregate, Q: Expression + NonAggregate, R: Expression + NonAggregate, S: Expression + NonAggregate, T: Expression + NonAggregate, U: Expression + NonAggregate, V: Expression + NonAggregate, W: Expression + NonAggregate, X: Expression + NonAggregate, Y: Expression + NonAggregate, Z: Expression + NonAggregate, AA: Expression + NonAggregate, AB: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate, O: Expression + NonAggregate, P: Expression + NonAggregate, Q: Expression + NonAggregate, R: Expression + NonAggregate, S: Expression + NonAggregate, T: Expression + NonAggregate, U: Expression + NonAggregate, V: Expression + NonAggregate, W: Expression + NonAggregate, X: Expression + NonAggregate, Y: Expression + NonAggregate, Z: Expression + NonAggregate, AA: Expression + NonAggregate, AB: Expression + NonAggregate, AC: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate, O: Expression + NonAggregate, P: Expression + NonAggregate, Q: Expression + NonAggregate, R: Expression + NonAggregate, S: Expression + NonAggregate, T: Expression + NonAggregate, U: Expression + NonAggregate, V: Expression + NonAggregate, W: Expression + NonAggregate, X: Expression + NonAggregate, Y: Expression + NonAggregate, Z: Expression + NonAggregate, AA: Expression + NonAggregate, AB: Expression + NonAggregate, AC: Expression + NonAggregate, AD: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate, O: Expression + NonAggregate, P: Expression + NonAggregate, Q: Expression + NonAggregate, R: Expression + NonAggregate, S: Expression + NonAggregate, T: Expression + NonAggregate, U: Expression + NonAggregate, V: Expression + NonAggregate, W: Expression + NonAggregate, X: Expression + NonAggregate, Y: Expression + NonAggregate, Z: Expression + NonAggregate, AA: Expression + NonAggregate, AB: Expression + NonAggregate, AC: Expression + NonAggregate, AD: Expression + NonAggregate, AE: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE)[src]

impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate, O: Expression + NonAggregate, P: Expression + NonAggregate, Q: Expression + NonAggregate, R: Expression + NonAggregate, S: Expression + NonAggregate, T: Expression + NonAggregate, U: Expression + NonAggregate, V: Expression + NonAggregate, W: Expression + NonAggregate, X: Expression + NonAggregate, Y: Expression + NonAggregate, Z: Expression + NonAggregate, AA: Expression + NonAggregate, AB: Expression + NonAggregate, AC: Expression + NonAggregate, AD: Expression + NonAggregate, AE: Expression + NonAggregate, AF: Expression + NonAggregate> NonAggregate for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE, AF)[src]

Loading content...

Implementors

impl NonAggregate for now[src]

impl<Query, Value> NonAggregate for UncheckedBind<Query, Value>[src]

impl<ST, T> NonAggregate for SqlLiteral<ST, T>[src]

Loading content...