Type Definition diesel::
pub type InnerJoinQuerySource<Left, Right, On = <Left as JoinTo<Right>>::OnClause> = JoinOn<Join<Left, Right, Inner>, On>;
A query source representing the inner join between two tables.
For example, for the inner join between three tables that implement
InnerJoinQuerySource<InnerJoinQuerySource<table1, table2>, table3>
Which conveniently lets you omit the exact join condition.