Struct structsy::SnapshotQuery
source · pub struct SnapshotQuery<T> { /* private fields */ }
Expand description
A query to be executed on a specific snapshot
Implementations§
source§impl<T: Persistent + 'static> SnapshotQuery<T>
impl<T: Persistent + 'static> SnapshotQuery<T>
pub fn projection<P: Projection<T>>(self) -> ProjectionSnapshotQuery<P, T>
pub fn fetch(self) -> StructsyIter<'static, (Ref<T>, T)> ⓘ
Trait Implementations§
source§impl<T: Persistent + 'static> IntoIterator for SnapshotQuery<T>
impl<T: Persistent + 'static> IntoIterator for SnapshotQuery<T>
source§impl<T: Persistent + 'static> Query<T> for SnapshotQuery<T>
impl<T: Persistent + 'static> Query<T> for SnapshotQuery<T>
fn filter_builder(&mut self) -> &mut FilterBuilder<T>
fn add_group(&mut self, filter: Filter<T>)
source§impl<T, V> QueryAction<SnapshotQuery<V>> for (Field<T, Option<Ref<V>>>, &mut FilterBuilder<T>)where
T: 'static,
V: Persistent + 'static,
impl<T, V> QueryAction<SnapshotQuery<V>> for (Field<T, Option<Ref<V>>>, &mut FilterBuilder<T>)where T: 'static, V: Persistent + 'static,
fn query(self, value: SnapshotQuery<V>)
source§impl<T, V> QueryAction<SnapshotQuery<V>> for (Field<T, Ref<V>>, &mut FilterBuilder<T>)where
T: 'static,
V: Persistent + 'static,
impl<T, V> QueryAction<SnapshotQuery<V>> for (Field<T, Ref<V>>, &mut FilterBuilder<T>)where T: 'static, V: Persistent + 'static,
fn query(self, value: SnapshotQuery<V>)
source§impl<T, V> QueryAction<SnapshotQuery<V>> for (Field<T, Vec<Ref<V>>>, &mut FilterBuilder<T>)where
T: 'static,
V: Persistent + 'static,
impl<T, V> QueryAction<SnapshotQuery<V>> for (Field<T, Vec<Ref<V>>>, &mut FilterBuilder<T>)where T: 'static, V: Persistent + 'static,
fn query(self, value: SnapshotQuery<V>)
Auto Trait Implementations§
impl<T> !RefUnwindSafe for SnapshotQuery<T>
impl<T> !Send for SnapshotQuery<T>
impl<T> !Sync for SnapshotQuery<T>
impl<T> Unpin for SnapshotQuery<T>
impl<T> !UnwindSafe for SnapshotQuery<T>
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