pub enum JoinKind {
Inner,
Left,
Right,
Full,
Cross,
Custom(Cow<'static, str>),
}Expand description
The join_type of a join.
Closed in the SQL standard, and left open at one point because MySQL’s
STRAIGHT_JOIN sits in exactly this slot without being a standard join type.
The OUTER in LEFT OUTER JOIN is noise — the standard makes it optional and
means the same thing — so it is not spelled out.
Variants§
Inner
INNER JOIN. The default, matching SQL’s own default for a bare JOIN.
Left
LEFT JOIN.
Right
RIGHT JOIN.
Full
FULL JOIN.
Cross
CROSS JOIN, which takes neither ON nor USING.
Custom(Cow<'static, str>)
A dialect’s own join keyword, written verbatim — MySQL’s STRAIGHT_JOIN.
Implementations§
Trait Implementations§
impl Eq for JoinKind
impl StructuralPartialEq for JoinKind
Auto Trait Implementations§
impl Freeze for JoinKind
impl RefUnwindSafe for JoinKind
impl Send for JoinKind
impl Sync for JoinKind
impl Unpin for JoinKind
impl UnsafeUnpin for JoinKind
impl UnwindSafe for JoinKind
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