//! Forward reference and join metadata shared by records and relations.
/// Supported SQL join kind for typed relation metadata.
#[derive(Clone, Copy, Debug, PartialEq, Eq)]pubenumJoinType{/// `INNER JOIN`.
Inner,/// `LEFT JOIN`.
Left,}/// A single equality condition in a typed join.
#[derive(Clone, Copy, Debug, PartialEq, Eq)]pubstructJoinColumn{/// Column on the current/root side of the join.
pubfrom:&'staticstr,
/// Column on the joined table side of the join.
pubto:&'staticstr,
}/// Typed metadata for a SQL join target.
#[derive(Clone, Copy, Debug, PartialEq, Eq)]pubstructReferenceMeta{/// Logical alias used for the joined table in generated SQL.
publogical_name:&'staticstr,
/// Database table name for the joined side.
pubtable_name:&'staticstr,
/// Optional database schema for the joined side.
pubtable_schema:Option<&'staticstr>,
/// Equality join columns joined with `AND`.
pubcolumns:&'static [JoinColumn],
/// SQL join type.
pubjoin_type: JoinType,
}