pub struct Join {
pub join_type: JoinType,
pub table: String,
pub left_column: String,
pub right_column: String,
}Expand description
A JOIN clause specifying which table to join and on which columns.
Fields§
§join_type: JoinTypeThe type of join (INNER, LEFT, RIGHT, FULL).
table: StringThe table to join with.
left_column: StringColumn on the left side of the ON condition. Qualified (“users.id”) or unqualified (“id”, defaults to FROM table).
right_column: StringColumn on the right side of the ON condition. Qualified (“posts.user”) or unqualified (“user”, defaults to joined table).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Join
impl<'de> Deserialize<'de> for Join
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 UnsafeUnpin 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