pub struct JoinClause {
pub join_type: JoinType,
pub table: String,
pub on: Expr,
pub items: Vec<SelectItem>,
}Expand description
A JOIN clause attached to a SELECT query.
Fields§
§join_type: JoinTypeThe type of join (INNER, LEFT).
table: StringThe table to join.
on: ExprThe ON condition expression.
items: Vec<SelectItem>Select items (columns or computed expressions) from the joined table.
Implementations§
Trait Implementations§
Source§impl Clone for JoinClause
impl Clone for JoinClause
Source§fn clone(&self) -> JoinClause
fn clone(&self) -> JoinClause
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JoinClause
impl Debug for JoinClause
Source§impl PartialEq for JoinClause
impl PartialEq for JoinClause
Source§fn eq(&self, other: &JoinClause) -> bool
fn eq(&self, other: &JoinClause) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JoinClause
Auto Trait Implementations§
impl Freeze for JoinClause
impl RefUnwindSafe for JoinClause
impl Send for JoinClause
impl Sync for JoinClause
impl Unpin for JoinClause
impl UnsafeUnpin for JoinClause
impl UnwindSafe for JoinClause
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