pub struct Join {
pub natural: bool,
pub join_type: JoinType,
pub outer: bool,
}Expand description
Builder for constructing JOIN clauses
This struct uses a builder pattern with const fn methods to allow compile-time construction of JOIN specifications.
Fields§
§natural: bool§join_type: JoinType§outer: boolImplementations§
Trait Implementations§
Source§impl<'a, V: SQLParam + 'a> ToSQL<'a, V> for Join
impl<'a, V: SQLParam + 'a> ToSQL<'a, V> for Join
fn to_sql(&self) -> SQL<'a, V>
Source§fn into_sql(self) -> SQL<'a, V>where
Self: Sized,
fn into_sql(self) -> SQL<'a, V>where
Self: Sized,
Consume self and return SQL without cloning.
Default delegates to
to_sql() (which clones). Types that own their SQL
(like SQL and SQLExpr) override this to avoid the clone.fn alias(&self, alias: &'static str) -> SQL<'a, V>
impl Copy for Join
impl Eq for Join
impl StructuralPartialEq for Join
Auto Trait Implementations§
impl Freeze for Join
impl RefUnwindSafe for Join
impl Send for Join
impl Sync for Join
impl Unpin for Join
impl UnwindSafe for Join
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more