[][src]Trait diesel::expression::AppearsOnTable

pub trait AppearsOnTable<QS: ?Sized>: Expression { }

Indicates that all elements of an expression are valid given a from clause.

This is used to ensure that users.filter(posts::id.eq(1)) fails to compile. This constraint is only used in places where the nullability of a SQL type doesn't matter (everything except select and returning). For places where nullability is important, SelectableExpression is used instead.

Implementations on Foreign Types

impl<T: ?Sized, QS> AppearsOnTable<QS> for Box<T> where
    T: AppearsOnTable<QS>,
    Box<T>: Expression
[src]

impl<'a, T: ?Sized, QS> AppearsOnTable<QS> for &'a T where
    T: AppearsOnTable<QS>,
    &'a T: Expression
[src]

impl<A, QS> AppearsOnTable<QS> for (A,) where
    A: AppearsOnTable<QS>,
    (A,): Expression
[src]

impl<A, B, QS> AppearsOnTable<QS> for (A, B) where
    A: AppearsOnTable<QS>,
    B: AppearsOnTable<QS>,
    (A, B): Expression
[src]

impl<A, B, C, QS> AppearsOnTable<QS> for (A, B, C) where
    A: AppearsOnTable<QS>,
    B: AppearsOnTable<QS>,
    C: AppearsOnTable<QS>,
    (A, B, C): Expression
[src]

impl<A, B, C, D, QS> AppearsOnTable<QS> for (A, B, C, D) where
    A: AppearsOnTable<QS>,
    B: AppearsOnTable<QS>,
    C: AppearsOnTable<QS>,
    D: AppearsOnTable<QS>,
    (A, B, C, D): Expression
[src]

impl<A, B, C, D, E, QS> AppearsOnTable<QS> for (A, B, C, D, E) where
    A: AppearsOnTable<QS>,
    B: AppearsOnTable<QS>,
    C: AppearsOnTable<QS>,
    D: AppearsOnTable<QS>,
    E: AppearsOnTable<QS>,
    (A, B, C, D, E): Expression
[src]

impl<A, B, C, D, E, F, QS> AppearsOnTable<QS> for (A, B, C, D, E, F) where
    A: AppearsOnTable<QS>,
    B: AppearsOnTable<QS>,
    C: AppearsOnTable<QS>,
    D: AppearsOnTable<QS>,
    E: AppearsOnTable<QS>,
    F: AppearsOnTable<QS>,
    (A, B, C, D, E, F): Expression
[src]

impl<A, B, C, D, E, F, G, QS> AppearsOnTable<QS> for (A, B, C, D, E, F, G) where
    A: AppearsOnTable<QS>,
    B: AppearsOnTable<QS>,
    C: AppearsOnTable<QS>,
    D: AppearsOnTable<QS>,
    E: AppearsOnTable<QS>,
    F: AppearsOnTable<QS>,
    G: AppearsOnTable<QS>,
    (A, B, C, D, E, F, G): Expression
[src]

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

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

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

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

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

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

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

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

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

Loading content...

Implementors

impl<QS> AppearsOnTable<QS> for now where
    now: Expression
[src]

impl<QS, Query, Value> AppearsOnTable<QS> for UncheckedBind<Query, Value> where
    Self: Expression
[src]

impl<QS, ST, T> AppearsOnTable<QS> for SqlLiteral<ST, T>
[src]

Loading content...