pub struct QueryContext<'a, S: Clone + 'static> {
pub generation: Option<&'a S>,
pub source: SourceContext<'a, S>,
pub snapshots: &'a dyn QuerySnapshots<S>,
pub directional: &'a dyn DirectionalQueryFactory<S>,
pub cte_filters: &'a dyn CteFilterPlanning<S>,
}Fields§
§generation: Option<&'a S>§source: SourceContext<'a, S>§snapshots: &'a dyn QuerySnapshots<S>§directional: &'a dyn DirectionalQueryFactory<S>§cte_filters: &'a dyn CteFilterPlanning<S>Trait Implementations§
impl<S: Clone + 'static> Copy for QueryContext<'_, S>
Auto Trait Implementations§
impl<'a, S> !RefUnwindSafe for QueryContext<'a, S>
impl<'a, S> !Send for QueryContext<'a, S>
impl<'a, S> !Sync for QueryContext<'a, S>
impl<'a, S> !UnwindSafe for QueryContext<'a, S>
impl<'a, S> Freeze for QueryContext<'a, S>where
Option<&'a S>: Freeze,
SourceContext<'a, S>: Freeze,
&'a dyn QuerySnapshots<S>: Freeze,
&'a dyn DirectionalQueryFactory<S>: Freeze,
&'a dyn CteFilterPlanning<S>: Freeze,
impl<'a, S> Unpin for QueryContext<'a, S>where
Option<&'a S>: Unpin,
SourceContext<'a, S>: Unpin,
&'a dyn QuerySnapshots<S>: Unpin,
&'a dyn DirectionalQueryFactory<S>: Unpin,
&'a dyn CteFilterPlanning<S>: Unpin,
impl<'a, S> UnsafeUnpin for QueryContext<'a, S>where
Option<&'a S>: UnsafeUnpin,
SourceContext<'a, S>: UnsafeUnpin,
&'a dyn QuerySnapshots<S>: UnsafeUnpin,
&'a dyn DirectionalQueryFactory<S>: UnsafeUnpin,
&'a dyn CteFilterPlanning<S>: UnsafeUnpin,
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
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