pub fn create_filter_from_query_pair(
        &self,
        lhs: &str,
        rhs: &str,
    ) -> Result<Box<dyn Filter<R> + 'a>, FilterError> {
        let mut p = QueryProcessor {
            target: lhs,
            rhs,
            result: None,
        };

        R::get_meta().accept_visitor(&mut p);

        p.result
            .ok_or_else(|| FilterError::NoField(lhs.to_string()))?
    }
/// Create a new filter from a fragment of query URL.
///
/// The expected input is a `lhs=rhs` pair from a query string,
/// with `lhs` and `rhs` given separately. The output will either
/// be an error, or a [`Filter`] which can apply the specified
/// test to objects of the target type, returning either `true`
/// (include) or `false` (exclude).
Create a new filter from a fragment of query URL.
Create a new filter from a fragment of query URL .
pub fn create_filter_from_query_pair(
        &self,
        lhs: &str,
        rhs: &str,
    ) -> Result<Box<dyn Filter<R> + 'a>, FilterError> {
        let mut p = QueryProcessor {
            target: lhs,
            rhs,
            result: None,
        };
        R::get_meta().accept_visitor(&mut p);
        p.result
            .ok_or_else(|| FilterError::NoField(lhs.to_string()))?
    }
pub fn create_filter_from_query_pair ( & self , lhs : & str , rhs : & str , ) -> Result < Box < dyn Filter < R > + ' a > , FilterError > { let mut p = QueryProcessor { target : lhs , rhs , result : None , } ; R :: get_meta ( ) . accept_visitor ( & mut p ) ; p . result . ok_or_else ( | | FilterError :: NoField ( lhs . to_string ( ) ) ) ? }
Create a new filter from a fragment of query URL.
Create a new filter from a fragment of query URL .
&self
lhs
&str
rhs
&str
&self
lhs
&str
rhs
&str