pub struct Join {
pub join_type: JoinType,
pub table: TableRef,
pub on: Predicate,
}Fields§
§join_type: JoinType§table: TableRef§on: PredicateImplementations§
Source§impl Join
impl Join
pub const fn new(join_type: JoinType, table: TableRef, on: Predicate) -> Self
pub fn inner(table: TableRef, on: Predicate) -> Self
pub fn left(table: TableRef, on: Predicate) -> Self
pub fn inner_entity<E: Entity>(on: Predicate) -> Self
pub fn left_entity<E: Entity>(on: Predicate) -> Self
pub fn inner_entity_as<E: Entity>(alias: &'static str, on: Predicate) -> Self
pub fn left_entity_as<E: Entity>(alias: &'static str, on: Predicate) -> Self
Trait Implementations§
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