pub struct Query<S, T, V = ()> { /* private fields */ }Implementations§
Source§impl<S, T> Query<S, T>where
T: QueryModel<Variables = ()>,
impl<S, T> Query<S, T>where
T: QueryModel<Variables = ()>,
pub fn new() -> Query<S, T>
pub fn with_selection(selection: QuerySelection) -> Query<S, T>
Source§impl<S, T> Query<S, T>where
T: QueryModel,
impl<S, T> Query<S, T>where
T: QueryModel,
pub fn new_with_variables( variables: <T as QueryModel>::Variables, ) -> Query<S, T, <T as QueryModel>::Variables>
pub fn with_selection_and_variables( selection: QuerySelection, variables: <T as QueryModel>::Variables, ) -> Query<S, T, <T as QueryModel>::Variables>
pub fn with_variables( self, variables: <T as QueryModel>::Variables, ) -> Query<S, T, <T as QueryModel>::Variables>
Trait Implementations§
Auto Trait Implementations§
impl<S, T, V> Freeze for Query<S, T, V>
impl<S, T, V> RefUnwindSafe for Query<S, T, V>
impl<S, T, V> Send for Query<S, T, V>
impl<S, T, V> Sync for Query<S, T, V>
impl<S, T, V> Unpin for Query<S, T, V>
impl<S, T, V> UnsafeUnpin for Query<S, T, V>
impl<S, T, V> UnwindSafe for Query<S, T, V>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more