pub struct FilterProjection<'a> {
pub source: &'a dyn DocumentStore,
pub changes: Option<&'a DocumentChanges>,
pub definitions: &'a [ColumnDef],
}Fields§
§source: &'a dyn DocumentStore§changes: Option<&'a DocumentChanges>§definitions: &'a [ColumnDef]Implementations§
Source§impl FilterProjection<'_>
impl FilterProjection<'_>
pub fn capture( &self, table: &str, ids: &SelectedIds, field: &str, predicate: &Predicate, bytes: usize, cancellation: &CancellationToken, ) -> Result<CapturedScoredEntries, SQLError>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for FilterProjection<'a>
impl<'a> !UnwindSafe for FilterProjection<'a>
impl<'a> Freeze for FilterProjection<'a>
impl<'a> Send for FilterProjection<'a>
impl<'a> Sync for FilterProjection<'a>
impl<'a> Unpin for FilterProjection<'a>
impl<'a> UnsafeUnpin for FilterProjection<'a>
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
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