pub struct Fetch {
pub pred: Pred,
pub sort: Vec<Sort>,
pub limit: Option<usize>,
}Expand description
A declared fetch: predicate, sort, window.
Fields§
§pred: Pred§sort: Vec<Sort>§limit: Option<usize>Implementations§
Source§impl Fetch
impl Fetch
pub fn new() -> Fetch
pub fn filter(self, p: Pred) -> Fetch
pub fn sort(self, s: Sort) -> Fetch
pub fn limit(self, n: usize) -> Fetch
Sourcepub fn dependencies(&self) -> Deps
pub fn dependencies(&self) -> Deps
The columns a change must touch for this query’s result to be able to move. Everything else is a row-level change the query ignores entirely.
Trait Implementations§
impl StructuralPartialEq for Fetch
Auto Trait Implementations§
impl Forget for Fetch
impl Freeze for Fetch
impl RefUnwindSafe for Fetch
impl Send for Fetch
impl Sync for Fetch
impl Unpin for Fetch
impl UnsafeUnpin for Fetch
impl UnwindSafe for Fetch
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