pub struct Query<S = Root> { /* private fields */ }Expand description
A composable query clause in scope S.
Handles produce a Query<S> (User::email().eq(…) → Query<Root>,
Order::status().eq(…) → Query<Order>). and/or/not and the
crate::Search clauses only combine the same scope; a nested query is
lifted to its parent scope through the nested handle.
Implementations§
Trait Implementations§
Source§impl<S> AsQuery<S> for Query<S>
impl<S> AsQuery<S> for Query<S>
Source§fn into_query(self) -> Option<Query<S>>
fn into_query(self) -> Option<Query<S>>
The clause this produces, or
None to contribute nothing.Auto Trait Implementations§
impl<S> Freeze for Query<S>
impl<S> RefUnwindSafe for Query<S>
impl<S> Send for Query<S>
impl<S> Sync for Query<S>
impl<S> Unpin for Query<S>
impl<S> UnsafeUnpin for Query<S>
impl<S> UnwindSafe for Query<S>
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