Trait WhereItem

Source
pub trait WhereItem<S, Q: Query<S>> {
    // Required method
    fn where_item(
        self,
        ctx: &mut Q::Context1,
    ) -> impl FnOnce(&mut Q::Context2) -> String;
}

Required Methods§

Source

fn where_item( self, ctx: &mut Q::Context1, ) -> impl FnOnce(&mut Q::Context2) -> String

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<S, Col, Q, T> WhereItem<S, Q> for ColumnEq<Col, T>
where Col: SelectItem<S>, Q: Accept<T, S> + Query<S>,

Source§

impl<S, Q: Query<S>> WhereItem<S, Q> for VerbatimNoSanitize

Source§

impl<S, Q: Query<S>, T: SelectItem<S>> WhereItem<S, Q> for IsNotNullWhereItem<T, S>

Source§

impl<S, Q: Query<S>, T: SelectItem<S>> WhereItem<S, Q> for IsNullWhereItem<T, S>