Trait FlavoredFilter

Source
pub trait FlavoredFilter {
    // Required method
    fn filter<C, R>(&self, conn: &C) -> Result<String>
       where C: Connection<R>,
             R: Row;
}
Expand description

Trait to be implemented for filtering. Returns the contents of a WHERE clause.

Required Methods§

Source

fn filter<C, R>(&self, conn: &C) -> Result<String>
where C: Connection<R>, R: Row,

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 FlavoredFilter for None

Source§

impl<F> FlavoredFilter for F
where F: Filter,

Source§

impl<T> FlavoredFilter for Condition<T>
where T: Display,

Source§

impl<T, U, V, W, X, Y> FlavoredFilter for And<T, U, V, W, X, Y>

Source§

impl<T, U, V, W, X, Y> FlavoredFilter for Or<T, U, V, W, X, Y>