pub struct ExistsQuery {
pub from: TableRef,
pub joins: Vec<Join>,
pub predicate: Option<Predicate>,
}Fields§
§from: TableRef§joins: Vec<Join>§predicate: Option<Predicate>Implementations§
Source§impl ExistsQuery
impl ExistsQuery
pub fn from_entity<E: Entity>() -> Self
pub fn from_entity_as<E: Entity>(alias: &'static str) -> Self
pub fn filter(self, predicate: Predicate) -> Self
pub fn join(self, join: Join) -> Self
pub fn inner_join<E: Entity>(self, on: Predicate) -> Self
pub fn left_join<E: Entity>(self, on: Predicate) -> Self
pub fn inner_join_as<E: Entity>( self, alias: &'static str, on: Predicate, ) -> Self
pub fn left_join_as<E: Entity>(self, alias: &'static str, on: Predicate) -> Self
Trait Implementations§
Source§impl Clone for ExistsQuery
impl Clone for ExistsQuery
Source§fn clone(&self) -> ExistsQuery
fn clone(&self) -> ExistsQuery
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 ExistsQuery
impl Debug for ExistsQuery
Source§impl PartialEq for ExistsQuery
impl PartialEq for ExistsQuery
Source§fn eq(&self, other: &ExistsQuery) -> bool
fn eq(&self, other: &ExistsQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExistsQuery
Auto Trait Implementations§
impl Freeze for ExistsQuery
impl RefUnwindSafe for ExistsQuery
impl Send for ExistsQuery
impl Sync for ExistsQuery
impl Unpin for ExistsQuery
impl UnsafeUnpin for ExistsQuery
impl UnwindSafe for ExistsQuery
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