pub trait BelongsTo<Parent> {
type ForeignKey: Hash + Eq;
type ForeignKeyColumn: Column;
fn foreign_key(&self) -> Option<&Self::ForeignKey>;
fn foreign_key_column() -> Self::ForeignKeyColumn;
}
Associated Types
Required Methods
Implementors
impl<A, Parent> BelongsTo<Parent> for (A,) where A: BelongsTo<Parent>
impl<A, B, Parent> BelongsTo<Parent> for (A, B) where A: BelongsTo<Parent>
impl<A, B, C, Parent> BelongsTo<Parent> for (A, B, C) where A: BelongsTo<Parent>
impl<A, B, C, D, Parent> BelongsTo<Parent> for (A, B, C, D) where A: BelongsTo<Parent>
impl<A, B, C, D, E, Parent> BelongsTo<Parent> for (A, B, C, D, E) where A: BelongsTo<Parent>
impl<A, B, C, D, E, F, Parent> BelongsTo<Parent> for (A, B, C, D, E, F) where A: BelongsTo<Parent>
impl<A, B, C, D, E, F, G, Parent> BelongsTo<Parent> for (A, B, C, D, E, F, G) where A: BelongsTo<Parent>
impl<A, B, C, D, E, F, G, H, Parent> BelongsTo<Parent> for (A, B, C, D, E, F, G, H) where A: BelongsTo<Parent>
impl<A, B, C, D, E, F, G, H, I, Parent> BelongsTo<Parent> for (A, B, C, D, E, F, G, H, I) where A: BelongsTo<Parent>
impl<A, B, C, D, E, F, G, H, I, J, Parent> BelongsTo<Parent> for (A, B, C, D, E, F, G, H, I, J) where A: BelongsTo<Parent>
impl<A, B, C, D, E, F, G, H, I, J, K, Parent> BelongsTo<Parent> for (A, B, C, D, E, F, G, H, I, J, K) where A: BelongsTo<Parent>
impl<A, B, C, D, E, F, G, H, I, J, K, L, Parent> BelongsTo<Parent> for (A, B, C, D, E, F, G, H, I, J, K, L) where A: BelongsTo<Parent>
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, Parent> BelongsTo<Parent> for (A, B, C, D, E, F, G, H, I, J, K, L, M) where A: BelongsTo<Parent>
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, Parent> BelongsTo<Parent> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N) where A: BelongsTo<Parent>
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, Parent> BelongsTo<Parent> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O) where A: BelongsTo<Parent>
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Parent> BelongsTo<Parent> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) where A: BelongsTo<Parent>