Trait diesel::query_builder::AsChangeset
[−]
[src]
pub trait AsChangeset { type Target: QuerySource; type Changeset; fn as_changeset(self) -> Self::Changeset; }
Types which can be passed to
update.set
. This can
be automatically generated for structs by
#[changeset_for]
.
Associated Types
Required Methods
fn as_changeset(self) -> Self::Changeset
Implementors
impl<T: AsChangeset> AsChangeset for Option<T>
impl<Target, A> AsChangeset for (A,) where A: AsChangeset<Target=Target>, Target: QuerySource
impl<Target, A, B> AsChangeset for (A, B) where A: AsChangeset<Target=Target>, B: AsChangeset<Target=Target>, Target: QuerySource
impl<Target, A, B, C> AsChangeset for (A, B, C) where A: AsChangeset<Target=Target>, B: AsChangeset<Target=Target>, C: AsChangeset<Target=Target>, Target: QuerySource
impl<Target, A, B, C, D> AsChangeset for (A, B, C, D) where A: AsChangeset<Target=Target>, B: AsChangeset<Target=Target>, C: AsChangeset<Target=Target>, D: AsChangeset<Target=Target>, Target: QuerySource
impl<Target, A, B, C, D, E> AsChangeset for (A, B, C, D, E) where A: AsChangeset<Target=Target>, B: AsChangeset<Target=Target>, C: AsChangeset<Target=Target>, D: AsChangeset<Target=Target>, E: AsChangeset<Target=Target>, Target: QuerySource
impl<Target, A, B, C, D, E, F> AsChangeset for (A, B, C, D, E, F) where A: AsChangeset<Target=Target>, B: AsChangeset<Target=Target>, C: AsChangeset<Target=Target>, D: AsChangeset<Target=Target>, E: AsChangeset<Target=Target>, F: AsChangeset<Target=Target>, Target: QuerySource
impl<Target, A, B, C, D, E, F, G> AsChangeset for (A, B, C, D, E, F, G) where A: AsChangeset<Target=Target>, B: AsChangeset<Target=Target>, C: AsChangeset<Target=Target>, D: AsChangeset<Target=Target>, E: AsChangeset<Target=Target>, F: AsChangeset<Target=Target>, G: AsChangeset<Target=Target>, Target: QuerySource
impl<Target, A, B, C, D, E, F, G, H> AsChangeset for (A, B, C, D, E, F, G, H) where A: AsChangeset<Target=Target>, B: AsChangeset<Target=Target>, C: AsChangeset<Target=Target>, D: AsChangeset<Target=Target>, E: AsChangeset<Target=Target>, F: AsChangeset<Target=Target>, G: AsChangeset<Target=Target>, H: AsChangeset<Target=Target>, Target: QuerySource
impl<Target, A, B, C, D, E, F, G, H, I> AsChangeset for (A, B, C, D, E, F, G, H, I) where A: AsChangeset<Target=Target>, B: AsChangeset<Target=Target>, C: AsChangeset<Target=Target>, D: AsChangeset<Target=Target>, E: AsChangeset<Target=Target>, F: AsChangeset<Target=Target>, G: AsChangeset<Target=Target>, H: AsChangeset<Target=Target>, I: AsChangeset<Target=Target>, Target: QuerySource
impl<Target, A, B, C, D, E, F, G, H, I, J> AsChangeset for (A, B, C, D, E, F, G, H, I, J) where A: AsChangeset<Target=Target>, B: AsChangeset<Target=Target>, C: AsChangeset<Target=Target>, D: AsChangeset<Target=Target>, E: AsChangeset<Target=Target>, F: AsChangeset<Target=Target>, G: AsChangeset<Target=Target>, H: AsChangeset<Target=Target>, I: AsChangeset<Target=Target>, J: AsChangeset<Target=Target>, Target: QuerySource
impl<Target, A, B, C, D, E, F, G, H, I, J, K> AsChangeset for (A, B, C, D, E, F, G, H, I, J, K) where A: AsChangeset<Target=Target>, B: AsChangeset<Target=Target>, C: AsChangeset<Target=Target>, D: AsChangeset<Target=Target>, E: AsChangeset<Target=Target>, F: AsChangeset<Target=Target>, G: AsChangeset<Target=Target>, H: AsChangeset<Target=Target>, I: AsChangeset<Target=Target>, J: AsChangeset<Target=Target>, K: AsChangeset<Target=Target>, Target: QuerySource
impl<Target, A, B, C, D, E, F, G, H, I, J, K, L> AsChangeset for (A, B, C, D, E, F, G, H, I, J, K, L) where A: AsChangeset<Target=Target>, B: AsChangeset<Target=Target>, C: AsChangeset<Target=Target>, D: AsChangeset<Target=Target>, E: AsChangeset<Target=Target>, F: AsChangeset<Target=Target>, G: AsChangeset<Target=Target>, H: AsChangeset<Target=Target>, I: AsChangeset<Target=Target>, J: AsChangeset<Target=Target>, K: AsChangeset<Target=Target>, L: AsChangeset<Target=Target>, Target: QuerySource
impl<Target, A, B, C, D, E, F, G, H, I, J, K, L, M> AsChangeset for (A, B, C, D, E, F, G, H, I, J, K, L, M) where A: AsChangeset<Target=Target>, B: AsChangeset<Target=Target>, C: AsChangeset<Target=Target>, D: AsChangeset<Target=Target>, E: AsChangeset<Target=Target>, F: AsChangeset<Target=Target>, G: AsChangeset<Target=Target>, H: AsChangeset<Target=Target>, I: AsChangeset<Target=Target>, J: AsChangeset<Target=Target>, K: AsChangeset<Target=Target>, L: AsChangeset<Target=Target>, M: AsChangeset<Target=Target>, Target: QuerySource
impl<Target, A, B, C, D, E, F, G, H, I, J, K, L, M, N> AsChangeset for (A, B, C, D, E, F, G, H, I, J, K, L, M, N) where A: AsChangeset<Target=Target>, B: AsChangeset<Target=Target>, C: AsChangeset<Target=Target>, D: AsChangeset<Target=Target>, E: AsChangeset<Target=Target>, F: AsChangeset<Target=Target>, G: AsChangeset<Target=Target>, H: AsChangeset<Target=Target>, I: AsChangeset<Target=Target>, J: AsChangeset<Target=Target>, K: AsChangeset<Target=Target>, L: AsChangeset<Target=Target>, M: AsChangeset<Target=Target>, N: AsChangeset<Target=Target>, Target: QuerySource
impl<Target, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> AsChangeset for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O) where A: AsChangeset<Target=Target>, B: AsChangeset<Target=Target>, C: AsChangeset<Target=Target>, D: AsChangeset<Target=Target>, E: AsChangeset<Target=Target>, F: AsChangeset<Target=Target>, G: AsChangeset<Target=Target>, H: AsChangeset<Target=Target>, I: AsChangeset<Target=Target>, J: AsChangeset<Target=Target>, K: AsChangeset<Target=Target>, L: AsChangeset<Target=Target>, M: AsChangeset<Target=Target>, N: AsChangeset<Target=Target>, O: AsChangeset<Target=Target>, Target: QuerySource
impl<Target, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> AsChangeset for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) where A: AsChangeset<Target=Target>, B: AsChangeset<Target=Target>, C: AsChangeset<Target=Target>, D: AsChangeset<Target=Target>, E: AsChangeset<Target=Target>, F: AsChangeset<Target=Target>, G: AsChangeset<Target=Target>, H: AsChangeset<Target=Target>, I: AsChangeset<Target=Target>, J: AsChangeset<Target=Target>, K: AsChangeset<Target=Target>, L: AsChangeset<Target=Target>, M: AsChangeset<Target=Target>, N: AsChangeset<Target=Target>, O: AsChangeset<Target=Target>, P: AsChangeset<Target=Target>, Target: QuerySource