pub struct Filter<'r, 'q, F: Filterable<'r, 'q>, C: EntityColumn, G: Modelable + ?Sized>where
'q: 'r,{ /* private fields */ }
Expand description
A concrete WHERE clause
Trait Implementations§
source§impl<'r, 'q, O, F: Filterable<'r, 'q, Output = O>, C: EntityColumn, G: Modelable + ?Sized> Filterable<'r, 'q> for Filter<'r, 'q, F, C, G>
impl<'r, 'q, O, F: Filterable<'r, 'q, Output = O>, C: EntityColumn, G: Modelable + ?Sized> Filterable<'r, 'q> for Filter<'r, 'q, F, C, G>
type Output = O
type Table = <C as EntityColumn>::Entity
fn by<C: EntityColumn<Entity = Self::Table>, G: Modelable + ?Sized>(
self,
col: C,
given: &'r G
) -> Filter<'r, 'q, Self, C, G>where
Self: Sized,
fn by_id<I: EntityID<Entity = Self::Table>>(
self,
given: &'r I
) -> Filter<'r, 'q, Self, <Self::Table as Entity>::IDColumn, I>where
Self: Sized,
fn by_op<C: EntityColumn<Entity = Self::Table>, G: Modelable + ?Sized>(
self,
col: C,
op: CompareOp,
given: &'r G
) -> Filter<'r, 'q, Self, C, G>where
Self: Sized,
source§impl<'r, 'q, F: Filterable<'r, 'q>, C: EntityColumn, G: Modelable + ?Sized> QueryComponent for Filter<'r, 'q, F, C, G>
impl<'r, 'q, F: Filterable<'r, 'q>, C: EntityColumn, G: Modelable + ?Sized> QueryComponent for Filter<'r, 'q, F, C, G>
source§impl<'r, 'q, O, F: Filterable<'r, 'q, Output = O>, C: EntityColumn, G: Modelable + ?Sized> Resolvable<'r, 'q> for Filter<'r, 'q, F, C, G>
impl<'r, 'q, O, F: Filterable<'r, 'q, Output = O>, C: EntityColumn, G: Modelable + ?Sized> Resolvable<'r, 'q> for Filter<'r, 'q, F, C, G>
source§impl<'r, 'q, F: Filterable<'r, 'q>, C: EntityColumn, G: Modelable + ?Sized> StaticVersion for Filter<'r, 'q, F, C, G>
impl<'r, 'q, F: Filterable<'r, 'q>, C: EntityColumn, G: Modelable + ?Sized> StaticVersion for Filter<'r, 'q, F, C, G>
Auto Trait Implementations§
impl<'r, 'q, F, C, G: ?Sized> RefUnwindSafe for Filter<'r, 'q, F, C, G>
impl<'r, 'q, F, C, G: ?Sized> Send for Filter<'r, 'q, F, C, G>
impl<'r, 'q, F, C, G: ?Sized> Sync for Filter<'r, 'q, F, C, G>
impl<'r, 'q, F, C, G: ?Sized> Unpin for Filter<'r, 'q, F, C, G>
impl<'r, 'q, F, C, G: ?Sized> UnwindSafe for Filter<'r, 'q, F, C, G>
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